GNOME Bugzilla – Bug 575543
I don't understand GST_PAUSE
Last modified: 2009-04-08 12:32:05 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:
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.
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??
You need a newer version of the element the property was added in 0.10.12 of gst-plugins-good.
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!