[Bug 775615] decodebin3: Select default track by GstStreamFlags

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 31 15:58:00 UTC 2017


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

Edward Hervey <bilboed at bilboed.com> changed:

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

--- Comment #4 from Edward Hervey <bilboed at bilboed.com> ---
Review of attachment 341382:
 --> (https://bugzilla.gnome.org/review?bug=775615&attachment=341382)

::: gst/playback/gstdecodebin3.c
@@ +1023,3 @@
+
+  /* 5. If not, match one stream of each type */
+  for (i = 0; i < g_list_length (sorted); i++) {

When iterating lists use the following:
  for (tmp = list; tmp; tmp = tmp->next) {
     something = (cast) tmp->data;
     ...
  }

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