[Bug 739992] h264parse: expose compatible profiles to downstream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 19 00:22:02 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739992
  GStreamer | gst-plugins-bad | git

--- Comment #7 from sreerenj <bsreerenj at gmail.com> 2014-11-19 08:21:57 UTC ---
We have to set a fixed caps using gst_pad_set_caps() (==sending caps event)
from h264parse and which will initiate a query_caps too. So if the downstream
elements want to support the profile that h264parse is trying to set in the src
pad, it(downstream element) should provide that profile in the query_caps
implementation.

Something else that we can do is, (eg: suppose the stream profile id indicate
extended profile but constrained_set1_flag set to 1):
-- h264parse needs to query the downstream before setting extended profile to
srcpad
-- if returned query caps didn't accept extended profile then check whether it
can accept main profile
-- if the main profile is acceptive , set the profile as main profile.

But I am not that supportive to this.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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