qtmux: remove one G_UNLIKELY for user property
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 7 Sep 2011 11:54:17 +0000 (08:54 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 7 Sep 2011 14:46:07 +0000 (11:46 -0300)
Using G_UNLIKELY on user properties isn't nice, specially when
that is the default option.

gst/isomp4/gstqtmux.c

index 33ea5ca..0f5c468 100644 (file)
@@ -2087,7 +2087,7 @@ gst_qt_mux_add_buffer (GstQTMux * qtmux, GstQTPad * pad, GstBuffer * buf)
 
 again:
   last_buf = pad->last_buf;
-  if (G_UNLIKELY (qtmux->dts_method == DTS_METHOD_REORDER)) {
+  if (qtmux->dts_method == DTS_METHOD_REORDER) {
     buf = gst_qt_mux_get_asc_buffer_ts (qtmux, pad, buf);
     if (!buf && !last_buf) {
       GST_DEBUG_OBJECT (qtmux, "no reordered buffer");