GNOME Bugzilla – Bug 333545
[riff] set depth on wma caps to make asfdemux and pitfdll WMAv2 decoder link
Last modified: 2006-03-06 14:15:41 UTC
Please describe the problem: When playing the audio of an .asf file, a pipeline formed by asfdemux and dmodec_vmadmodv2 (from PitfDLL) won't play. Steps to reproduce: 1. launch a pipeline such as gst-launch-0.10 filesrc location=<some .asf file> ! asfdemux .audio_00 ! dmodec_wmadmodv2 ! alsasink 2. 3. Actual results: gst-launch-0.10 quits immediately, with an error about negotiation problems Expected results: the audio of the .asf file should play Does this happen every time? yes Other information:
Created attachment 60723 [details] [review] Set "depth" caps in audio/x-wma streams PitfDLL requires "depth" to be set, otherwise it won't negotiate. With this patch, asfdemux returns an audio stream with a "depth" caps
Committed, thanks for the patch! 2006-03-06 Tim-Philipp Müller <tim at centricular dot net> * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): Set depth on WMA caps (#333545, patch by: Fabrizio Gennari).