GNOME Bugzilla – Bug 507844
[asfdemux] Doesn't handle stream-specific aspect-ratio contained in metadata
Last modified: 2008-01-08 16:32:45 UTC
gstreamer-plugins-ugly-0.10.6-2.lvn8 Playing the video at: http://download.microsoft.com/download/a/9/3/a9327df4-aeb5-46de-b438-d0f60da6fb54/Coral_Reef_Adventure_1080.exe (extractable using 7zip, p7zip package in Fedora) The aspect ratio is clearly square, when it should be widescreen. Original report for MPlayer: http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-December/047916.html Patch for MPlayer: http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-December/048166.html
It's contained as metadata, which we don't read in asfdemux.
Fix0red: 2008-01-08 Tim-Philipp Müller <tim at centricular dot net> * gst/asfdemux/gstasfdemux.c: (asfdemux_dbg), (gst_asf_demux_reset), (gst_asf_demux_add_video_stream), (gst_asf_demux_process_ext_content_desc), (gst_asf_demux_get_metadata_for_stream), (gst_asf_demux_process_metadata), (gst_asf_demux_process_object), (gst_asf_demux_change_state): * gst/asfdemux/gstasfdemux.h: Parse metadata object and extract pixel aspect ratio. Fixes #507844.