| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > Testing / Bug Reports > Input Plugin Bug |
| Posted by: ale5000 Dec 19 2010, 08:59 PM |
| If the "Narrow-bandwidth television (NBTV) wave" input plugin is present, then import an .mp3 file from Audio => Audio from other file... doesn't work. It say "Unable to open AVI file: hr=80040154". It is strange because this plugin doesn't appears in the list inside "Audio from other file..." The plugin is here: http://users.tpg.com.au/users/gmillard/nbtv/nbtv.htm |
| Posted by: phaeron Dec 19 2010, 11:42 PM |
| The error is coming from the plugin, and it appears to be a lightly modified version of my sample plugin (it even has my name still in it). The problem is that the plugin is accepting everything at priority -1, which is blocking the MP3 plugin. The plugin name doesn't appear in the drop-down list because plugin names don't appear there -- formats appear there instead. |
| Posted by: GCM Dec 29 2010, 03:29 AM | ||
Actually it was more than being based on your sample - it actually contained it: extern const VDPluginInfo nbtv_plugin; extern const VDPluginInfo avi_plugin; const VDPluginInfo *const kPlugins[]= { &nbtv_plugin, &avi_plugin, NULL }; I must have been experimenting with multiple plugins and then forgotten to take it out The NBTV plugin has a priority of zero (0), but, as you say, avi_plugin has a priority of -1. Note that if you build the sample input driver (mocrap) separately and add it to the plugins directory you get the same problem. Presumably this is because it defines itself as supporting audio? i.e. VDXInputDriverDefinition::kFlagSupportsVideo | VDXInputDriverDefinition::kFlagSupportsAudio, I have always had the sample driver in my plugins folder but because I hadn't updated to 1.19.10 I hadn't noticed the problem. In any case I have removed the extra (sample) plugin and reposted NBTVInputDriver on my website. |
| Posted by: ale5000 Jan 24 2011, 06:47 PM |
| Edit: Problem fixed. |
| Posted by: ale5000 Jan 24 2011, 06:53 PM |
| Edit: Post removed. |