[Bug 739992] h264parse: expose compatible profiles to downstream
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Nov 14 07:25:18 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=739992
GStreamer | gst-plugins-bad | git
--- Comment #2 from Gwenole Beauchesne <gb.devel at gmail.com> 2014-11-14 15:25:15 UTC ---
I think we can do simpler, with approach 4:
4.a. Keep gst_codec_utils_h264_caps_set_level_and_profile() as is to maintain
API and ABI compatibility ;
4.b. Add new helper functions, e.g. gst_codec_utils_h264_get_profile_name(),
gst_codec_utils_h264_get_level_name() to return a string representation of the
supplied profile_idc and level_idc values.
4.c. If we can derive compatible profiles for src pad caps, I think we could
simply gst_structure_copy() the "native" caps, and replace "profile" to the
compatible one we determined.
4.d. Then, we could simply append compatible structures and ultimately
gst_caps_simplify() the result to have a clean representation with
profile={multiview-high, stereo-high, high} (as an example).
--
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