[Bug 739992] h264parse: expose compatible profiles to downstream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 26 06:05:42 PST 2014


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

--- Comment #14 from Gwenole Beauchesne <gb.devel at gmail.com> 2014-11-26 14:05:38 UTC ---
Review of attachment 291485:
 --> (https://bugzilla.gnome.org/review?bug=739992&attachment=291485)

::: gst/videoparsers/gsth264parse.c
@@ +1212,3 @@
+      else if (sps->constraint_set0_flag && !sps->constraint_set1_flag)
+        compat_profile = "baseline";
+      break;

I believe the following to be simpler:

if (csf0) /* A.2.1 */
  compat_profile = csf1 ? "constrained-baseline" : "baseline";
else if (csf1) /* A.2.2 */
  compat_profile = "main";

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