[Bug 775615] decodebin3: Select default track by GstStreamFlags
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Apr 25 07:46:15 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=775615
HoonHee Lee <hoonh83.lee at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #345004|0 |1
is obsolete| |
--- Comment #23 from HoonHee Lee <hoonh83.lee at gmail.com> ---
Created attachment 350372
--> https://bugzilla.gnome.org/attachment.cgi?id=350372&action=edit
decodebin3: Re-order all streams and add to collection
Dear All.
In same stream type, old compare condition always returns -1 if stream A and
stream B is different.
When sorting, sa and sb is as following.
==========================================================================
sa: 1afcda6b6e111d8beb07deb3bac202b948112257a70b25691531005a49e3e3d0/003
sb: 1afcda6b6e111d8beb07deb3bac202b948112257a70b25691531005a49e3e3d0/002
==========================================================================
We expect 002 is high order than 003 but, 003 is placed highly than 002 by
returning always -1.
Thus, I updated to return -1 or +1 if stream-id is different in same type.
Please review my patch.
Thanks.
--
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