[Bug 775469] gst-play: Support track change on playbin3
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Feb 1 08:42:47 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=775469
Edward Hervey <bilboed at bilboed.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bilboed at bilboed.com
--- Comment #7 from Edward Hervey <bilboed at bilboed.com> ---
(In reply to Seungha Yang from comment #6)
> 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?
In the new pb3/db3/streams world, and since gst-play should also be an
example of good API usage, I would much prefer the second option.
The reason is for performance (less elements used) but also for simplicity
(only one API to use for deciding what you want, and not some playbin specific
API).
Note that it doesn't mean that doing it the first way shouldn't work. Just
not for gst-play.
>
> Anyway, the second option does not work now and causes crash. It seems bug
> of playbin3/decodebin3, though
Ah, let's open a bug report about this then :)
--
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