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 575543 - I don't understand GST_PAUSE
I don't understand GST_PAUSE
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.20
Other All
: Normal minor
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-16 11:38 UTC by Akshay Bhat
Modified: 2009-04-08 12:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Akshay Bhat 2009-03-16 11:38:36 UTC
Hello everyone, 
 I'm a newbie to the gstreamer world. So this bug might have an obvious solution.  
 I've cross compiled gstreamer for imx27(arm) platform and i'm running a small app to play a MP4 video using gstreamer APIs. The use case is that when a video is playing, if any key press is detected the pipeline should be set to pause, come out of the video immediately and display GUI(which is written in GTK2). However I'm observing that even after the pipeline is set to pause state, the video continues to buffer in the background (i'm using queue2) which is causing problems for me. Is there any way to stop even the buffering when the pipeline is set to PAUSE state?

Other information:
Comment 1 Wim Taymans 2009-03-16 12:58:08 UTC
I assume this is from streaming an http source? If so, you could set the http source in live-mode, which can be done by setting the is-live property to TRUE.
Comment 2 Akshay Bhat 2009-03-17 06:40:55 UTC
But I didn't find any live-mode property in httpsrc element..
These are the element properties of httpsrc which i'm using-


name                : The name of the object
                        flags: readable, writable
                        String. Default: null Current: "souphttpsrc0"
  blocksize           : Size in bytes to read per buffer (0 = default)
                        flags: readable, writable
                        Unsigned Long. Range: 0 - 4294967295 Default: 4096 Current: 4096
  num-buffers         : Number of buffers to output before sending EOS
                        flags: readable, writable
                        Integer. Range: -1 - 2147483647 Default: -1 Current: -1
  typefind            : Run typefind before negotiating
                        flags: readable, writable
                        Boolean. Default: false Current: false
  do-timestamp        : Apply current stream time to buffers
                        flags: readable, writable
                        Boolean. Default: false Current: false
  location            : Location to read from
                        flags: readable, writable
                        String. Default: "" Current: null
  user-agent          : Value of the User-Agent HTTP request header field
                        flags: readable, writable
                        String. Default: "GStreamer httpsrc " Current: "GStreamer httpsrc "
  automatic-redirect  : Automatically follow HTTP redirects (HTTP Status Code 3xx)
                        flags: readable, writable
                        Boolean. Default: true Current: true
  proxy               : HTTP proxy server URI
                        flags: readable, writable
                        String. Default: "" Current: ""
  cookies             : HTTP request cookies
                        flags: readable, writable
                        Boxed pointer of type "GStrv"
  iradio-mode         : Enable internet radio mode (extraction of shoutcast/icecast metadata)
                        flags: readable, writable
                        Boolean. Default: false Current: false
  iradio-name         : Name of the stream
                        flags: readable
                        String. Default: null Current: null
  iradio-genre        : Genre of the stream
                        flags: readable
                        String. Default: null Current: null
  iradio-url          : Homepage URL for radio stream
                        flags: readable
                        String. Default: null Current: null
  iradio-title        : Name of currently playing song
                        flags: readable
                        String. Default: null Current: null


So how do I go about this??

Comment 3 Wim Taymans 2009-03-17 19:03:52 UTC
You need a newer version of the element the property was added in 0.10.12 of gst-plugins-good.
Comment 4 Tim-Philipp Müller 2009-04-08 12:32:05 UTC
Bugzilla is not the right place to ask these kind of questions. Please use the gstreamer-devel mailing list to ask questions and get support, thanks!