[Bug 746682] flvdemux: Don't create AAC/H264 caps without codec_data

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 24 04:47:39 PDT 2015


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

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 300192
  --> https://bugzilla.gnome.org/attachment.cgi?id=300192&action=edit
flvdemux: Don't create AAC/H264 caps without codec_data

Instead delay creating the caps until we read the codec_data from the stream,
or fail if we get normal data before the codec_data.

AAC raw caps and H264 avc caps always need codec_data, setting caps on the pad
without them is going to make negotiation fail most of the time. Even if we
later set new caps with the codec_data, that's usually going to be too late.

-- 
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