[Bug 775469] gst-play: Support track change on playbin3

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 1 04:15:37 UTC 2017


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

--- Comment #6 from Seungha Yang <sh.yang at lge.com> ---
(In reply to Edward Hervey from comment #5)
> Review of attachment 341158 [details] [review]:

Hello Edward Hervey
Thanks for your detailed review:)

> @@ +1186,3 @@
> +      if (cur_flags & flag) {
> +        cur_flags &= ~flag;
> +        g_object_set (play->playbin, "flags", cur_flags, NULL);
> 
> One shouldn't have to fiddle with flags with playbin3. They should end up
> being automatically configured.

To disable a track, we have two options,
One is setting playbin3 flags (like playbin) and the other is excluding
stream-id from select-streams event 
e.g., to disable audio, select-streams event must have stream-id of only video
(and plus text if exists).

The difference is that, "flags setting" causes just reconfiguration of
playsink, but "select-streams" causes removal of corresponding decoder also.
Which one is suitable approach?

Anyway, the second option does not work now and causes crash. It seems bug of
playbin3/decodebin3, though

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