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 523959 - preview sound is not working due to players command builder using obsolete "programs"
preview sound is not working due to players command builder using obsolete "p...
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Audio Preview
2.22.x
Other All
: Normal major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-23 09:21 UTC by Alban Browaeys
Modified: 2008-04-11 12:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
replace uridecodebin gstreamer and all the pipeline by playbin pipeline (692 bytes, patch)
2008-03-23 09:24 UTC, Alban Browaeys
none Details | Review

Description Alban Browaeys 2008-03-23 09:21:57 UTC
Please describe the problem:
the player used by nautilus are not available anymore in current debian (sid) :
- totem-sound-preview is not available anymore 
- gst-launch-0.10 does not have uridecodebin anymore but decodebin2 is supposed to replace it (though I did not manage to use it with my test audio but I found another pipe that does more and better that is playbin).
(src/file-manager/fm-icon-view.c get_preview_argv )



Steps to reproduce:
1. mouse over a sound 


Actual results:
nothing plays

Expected results:
sound played

Does this happen every time?
yes, under debian sid

Other information:
Comment 1 Alban Browaeys 2008-03-23 09:24:18 UTC
Created attachment 107854 [details] [review]
replace uridecodebin gstreamer and all the pipeline by playbin pipeline

This may have the added bonus that we do not rely on autoaudiosink anymore . Thus we would have the sink choosen in the gstreamer-properties (need to be confirmed).
Comment 2 Christian Neumair 2008-03-23 12:52:54 UTC
Thanks for your bug report and your patch.

However, this seemingly-complex pipeline has been added deliberately: We do not want video preview.

http://svn.gnome.org/viewvc/nautilus?view=revision&revision=13389

I committed a slightly different patch that re-ports the code to playbin, but sets "current-video=-1" on the playbin. This keeps video playback disabled.

http://svn.gnome.org/viewvc/nautilus?view=revision&revision=13979
Comment 3 Bastien Nocera 2008-04-11 12:20:41 UTC
(In reply to comment #0)
> Please describe the problem:
> the player used by nautilus are not available anymore in current debian (sid) :
> - totem-sound-preview is not available anymore 

I think you meant that it wasn't available in your distribution rather. It was added in Totem 2.21.0, your distribution was probably too old.