[Bug 787206] matroska-demux.c incorrectly interprets FlagInterlaced-field

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 8 07:11:46 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=787206

--- Comment #5 from Peter Körner <gnome-bugzilla at mazdermind.de> ---
This patch handles the cases of
GST_MATROSKA_ID_VIDEOFLAGINTERLACED==1 (mapped to interlaced)
GST_MATROSKA_ID_VIDEOFLAGINTERLACED==2 (mapped to progressive)

It would also keep the mapping of an absent
GST_MATROSKA_ID_VIDEOFLAGINTERLACED-field to progressive which is
questionable but probably ok from an compatibility point of view.


Problematic is the case of
GST_MATROSKA_ID_VIDEOFLAGINTERLACED==0 (== undetermined) which would be
mapped to progressive.

As far as I can see gstreamer has the notion of mixed-content
(interlace-mode=mixed) versus interlace-mode=progressive/interlaced and
a value of GST_MATROSKA_ID_VIDEOFLAGINTERLACED==0 should probably be
mapped to interlace-mode=mixed.



Furthermore setting GST_MATROSKA_VIDEOTRACK_INTERLACED-flag seems to
currently trigger interlace-mode=mixed (see output of gst-launch-1.0
commands above)

This is also incorrect.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list