[Bug 790709] h264parse: early set src caps when input is avc
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 15 15:36:00 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=790709
Guillaume Desmottes <gdesmott at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #364189|needs-work |none
status| |
Attachment #364189|0 |1
is obsolete| |
--- Comment #17 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 369741
--> https://bugzilla.gnome.org/attachment.cgi?id=369741&action=edit
h264parse: early set src caps when input is avc
When input is in AVC format there is no need to wait for the first buffer
before setting src caps. We already have all the information from the
input codec_data.
This allow us to already configure downstream elements allowing them,
for example, to already allocate their internal buffers as they know
the format of the input they are about to receive.
This patch is pretty similar to 5ac886d85aab4b919f84fb80e2d1ef36dc8e647d
which has been reverted but now we carry over fields from the sink caps.
By doing so we no longer end up with partial caps which were updated
later and so was triggering a renegotiation.
--
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