[Bug 736752] mp4mux/qtmux: Add HEVC support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 12 15:36:33 UTC 2017


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #343375|none                        |needs-work
             status|                            |

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 343375:
 --> (https://bugzilla.gnome.org/review?bug=736752&attachment=343375)

Some things that are weird, but they're probably copy&paste from the h264 code.
Maybe omit them here and provide another patch for h264 :)

::: gst/isomp4/gstqtmux.c
@@ +4240,3 @@
+
+    if ((strcmp (format, "hvc1") != 0 && strcmp (format, "hev1") != 0) ||
+        alignment == NULL || strcmp (alignment, "au") != 0) {

alignment can't possibly be NULL here (and stream-format can't be missing
either). They're both in the template caps.

@@ +4261,3 @@
+      gint avg_bitrate = 0;
+
+      gst_structure_get_int (structure, "bitrate", &avg_bitrate);

This should come via tags if anything, the caps generally don't have the
bitrate

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