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 670757 - Visualization flag make DVD menu selection invisible
Visualization flag make DVD menu selection invisible
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-24 17:38 UTC by mickyz
Modified: 2012-03-06 08:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mickyz 2012-02-24 17:38:18 UTC
I am developing an application using gstreamer and I would have the visualizations enabled, but this brake the DVD menu selection.

gst-launch -v playbin2 flags=0x0008 uri=dvd:///dev/sr0

Thanks.
Comment 1 Tim-Philipp Müller 2012-02-24 17:48:41 UTC
> gst-launch -v playbin2 flags=0x0008 uri=dvd:///dev/sr0

Hrm? This doesn't really make sense - now you have *only* the visualisation flag set, but unset all the other flags, such as:

         (0x00000001): video            - Render the video stream
                           (0x00000002): audio            - Render the audio stream
                           (0x00000004): text             - Render subtitles
                           (0x00000008): vis              - Render visualisation when no video is present
                           (0x00000010): soft-volume      - Use software volume
                           (0x00000020): native-audio     - Only use native audio formats
                           (0x00000040): native-video     - Only use native video formats
                           (0x00000080): download         - Attempt progressive download buffering
                           (0x00000100): buffering        - Buffer demuxed/parsed data
                           (0x00000200): deinterlace      - Deinterlace video if necessary
                           (0x00000400): soft-colorbalance - Use software color balance

 
Try:

   gst-launch -v playbin2 flags="soft-volume+text+audio+video+vis" uri=dvd:///dev/sr0

(i.e. the default flags plus +vis added)
Comment 2 mickyz 2012-02-24 17:54:00 UTC
Ok, I thought the flag was simply added and not replaced at all, I've not found anything in the documentation about it.
Comment 3 mickyz 2012-02-24 18:13:29 UTC
Sorry for the question, but what is the flag soft-volume? It's necessary to use it?
Comment 4 Tim-Philipp Müller 2012-02-24 18:24:08 UTC
it means it will plug a "volume" element into the pipeline if the audio sink doesn't support volume changes natively (via a "volume" property or GstStreamVolume interface). e.g. pulsesink supports volume control directly, alsasink doesn't.
Comment 5 mickyz 2012-02-24 20:00:00 UTC
Thanks for reply, I had several crashes touching the volume just launched application and moving cursor quickly, I don't know what it depends, but I will try to remove this flag.
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2012-03-06 08:52:45 UTC
mickyz, if you get crashes:
* run G_DEBUG="fatal_warnings" gdb --args ./your-app ...
* provoke the crash
* type 'bt' in gdb to get a full backtrace
* if the backtrace is in gstreamer, post it here (including the full backtrace)