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 156576 - Failing audiosink will cause unwanted behaviour
Failing audiosink will cause unwanted behaviour
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
Depends on:
Blocks: 309714
 
 
Reported: 2004-10-27 12:24 UTC by Marinus Schraal
Modified: 2008-02-27 22:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Alert dialog (17.45 KB, image/png)
2005-08-27 14:16 UTC, Rodrigo Vieira Couto
Details

Description Marinus Schraal 2004-10-27 12:24:28 UTC
When I get an error that eg. /dev/dsp is blocked and i get no sound with a
video, the video does start to play, but when i press pause nothing happens.
Also the message widget at the bottem sais 'playing 0:00/0:00' . If I press
pause a few times, the video starts to stutter and stops & then somtimes totem
hangs, other times i can select another video to play.

On the commandline i get this :
(totem:6172): GStreamer-WARNING **: pushing data on non-negotiated pad mad2:src,
not allowed.

I guess that depends on the audiostream of the movie.

This is with gstreamer 0.8.7, plugins 0.8.5 & totem 0.99.20
Comment 1 Rodrigo Vieira Couto 2005-08-27 14:16:02 UTC
In my case, totem 1.1.1, gstreamer backend 0.8.9, ubuntu hoary, if the device is
busy (/dev/dsp), a window pops up and tell me that "Could not open resource for
writing". On stderr it spits "/dev/dsp: Device or resource busy". If you ask me,
the alert dialog misleads the user to think that the video file must allow totem
open it for writing. I'll upload a screenshot of it so you can see it too.
Comment 2 Rodrigo Vieira Couto 2005-08-27 14:16:31 UTC
Created attachment 51418 [details]
Alert dialog
Comment 3 Ronald Bultje 2005-08-27 15:22:37 UTC
This is no longer the case in the current CVS of latest release, it now shows a
descriptive and helpful error message.
Comment 4 Julien MOUTTE 2006-01-21 23:01:44 UTC
This is fixed, in recent GStreamer. In 0.10 the video will play with no sound.
Comment 5 Julien MOUTTE 2006-01-22 09:07:30 UTC
Sorry i did not notice someone installed dmix on my machine. I ll check more carefully.

Reopening.
Comment 6 Christian Fredrik Kalager Schaller 2006-01-26 11:14:44 UTC
Is this a dup of 170719?
Comment 7 Tim-Philipp Müller 2006-07-10 15:10:27 UTC
> Is this a dup of 170719?

I don't think so. Bug #170719 is about totem not working if there is no sound card available at all in the system.

This bug is (I think) about the confusing error message shown if the selected sound device cannot be opened because it is in use by another application (for example). 

As Ronald said, this has been fixed a while ago (don't know why it was kept open  - do you remember why Ronald?)

It now shows a message saying:

"Totem could not startup.
 The audio output is in use by another application. Please
 select another audio output in the Multimedia Systems
 Selector. You may want to consider using a sound server."

Comment 8 Christian Fredrik Kalager Schaller 2006-07-10 15:20:54 UTC
Would maybe be an even better fix if not only that message occurs, but totem continues to work but without audio?
Comment 9 Bastien Nocera 2006-07-10 15:36:20 UTC
The xine-lib backend will still open the file, play the video, and only error out when trying to play an audio only file:
"This is an audio-only file, and there is no audio output available."
Or when trying to play a file, when the audio output was available previously, but isn't anymore:
"The audio device is busy. Is another application using it?"
Comment 10 Tim-Philipp Müller 2006-07-10 16:53:28 UTC
AFAICT both of these issues are covered by bug #170719 and due to the GStreamer backend trying to set the audiosink to READY state on start-up (playbin itself won't try to use an audiosink if there is no audio), so I didn't see much point in keeping this one open.
Comment 11 Bastien Nocera 2008-02-27 22:42:35 UTC
Let's close this. Use PulseAudio or dmix :)