After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 523164 - Switching audio tracks requires seeking to work
Switching audio tracks requires seeking to work
Status: RESOLVED OBSOLETE
Product: totem
Classification: Core
Component: GStreamer backend
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
: 540253 547770 (view as bug list)
Depends on: 542663
Blocks:
 
 
Reported: 2008-03-18 13:35 UTC by Sebastian Dröge (slomo)
Modified: 2009-04-01 17:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
switch-track.diff (1.34 KB, patch)
2008-03-18 13:44 UTC, Sebastian Dröge (slomo)
rejected Details | Review

Description Sebastian Dröge (slomo) 2008-03-18 13:35:51 UTC
Hi,
currently switching audio tracks requires one to seek afterwards to get the new track and sometimes, if not seeking, playback just hangs.

Attached is a patch that seeks to the current position when switching audio tracks.


The same is probably also necessary when switching subtitle tracks, I can't test this here though.
Comment 1 Bastien Nocera 2008-03-18 13:36:59 UTC
(In reply to comment #0)
<snip>
> The same is probably also necessary when switching subtitle tracks, I can't
> test this here though.

Actually, that already works fine.
Comment 2 Sebastian Dröge (slomo) 2008-03-18 13:44:34 UTC
Created attachment 107532 [details] [review]
switch-track.diff
Comment 3 Sebastian Dröge (slomo) 2008-03-18 13:45:10 UTC
According to Tim we need to do the same for subtitle tracks still... so my patch includes it there too ;)
Comment 4 Sebastian Dröge (slomo) 2008-03-19 12:28:35 UTC
Is again a bug in playbin, maybe bug #522203. At least that the seeking workaround doesn't work looks much like that bug, there are two NEWSEGMENT events sent which let timestamps go wild and starve the pipeline.
Comment 5 Tim-Philipp Müller 2008-06-10 13:17:17 UTC
I believe this isn't an issue any longer with playbin2.

I'm hoping to port totem over to playbin2 in this release cycle, so not sure it's worth spending time figuring out why this doesn't work right or how to hack around it. We've lived with it for so long we'll manage another month.
Comment 6 Bastien Nocera 2008-08-13 14:28:51 UTC
*** Bug 540253 has been marked as a duplicate of this bug. ***
Comment 7 Bastien Nocera 2008-08-14 13:46:06 UTC
*** Bug 547770 has been marked as a duplicate of this bug. ***
Comment 8 Nullack 2008-08-16 06:16:40 UTC
Can I please comment on this. I have been doing research on gstreamer / totem and evangilising the benefits of gstreamer over ffmpeg/mplayer/vlc. This bug is one of the issues I see that prods user's into switching over th alternatives like VLC and mplayer (users typically just expect it to work and dont consider seeking backwards to get their playback stream preferences correct). I'm concerned that Tim may not have the time needed to port playbin2 in the current gnome release. Can I please appeal to getting this fixed in the current cycle as it would be a big step forward in apparent quality to most users. Thanks for the great software.
Comment 9 Tim-Philipp Müller 2008-08-17 13:01:20 UTC
> I'm concerned that Tim may not have the time needed to port playbin2 in the
> current gnome release. Can I please appeal to getting this fixed in the
> current cycle as it would be a big step forward in apparent quality to
> most users. Thanks for the great software.

It's not really just me. To deploy playbin2 in this cycle we'd have needed a concerted effort on the side of the GStreamer team (stabilise/finalise the APIs, implement any missing features, investigate and fix all regressions quickly, and make sure everything gets released in time too). I didn't see that happening, so this has to wait for the next cycle, sorry.

Maybe someone finds a way to make the above hack work reliably in the meantime.
Comment 10 Moonshade 2008-10-02 19:24:14 UTC
Major severity bug if you ask me. When it comes to non-english speaking world, DVD's and its backup are pretty much guarantied to have multiple audio streams. And current GStreamer is helpless here...

Patch doesn't really work, it insta seeks back a second or so with sound freezing in 90% of cases.

Any progress on playbin2+totem combo?
Comment 11 Bastien Nocera 2009-04-01 17:26:36 UTC
We switched to playbin2 in trunk, so should be fixed.