[Bug 790000] rtph264depay: doesn't update resolution if format is avc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 7 10:08:14 UTC 2017


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

--- Comment #3 from Justin J. Kim <justin.joy.9to5 at gmail.com> ---
My patch is probably an opposing opinion about the previous code. According to
the comment, it doesn't change caps if only 'codec_data' is changed, and h264
does like that.

However, IMHO, the behaviours of these two elements need to be different. In
case of h264parse, it can parse every useful information from caps of sinkpad,
but not to send caps for srcpad if only codec_data is changed. That means
h264parse can always use SPS/PPS from fresh codec_data.

Whereas, if rtph264depay ignores codec_data like h264parse, there's no way to
send new SPS/PPS for avc format because the information is in codec_data.

Is there any nicer way to send SPS/PPS for avc format case?

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