Properly freeing resources

Jim restlessmindsstudio at gmail.com
Tue Feb 19 12:47:54 PST 2013


Hi Bernhard,
I'm not sure I understand what you mean by using a loop. In my code, once
the pipeline is initialized I:
1. Set the filesrc element's location property to the video
2. Set the pipeline state to GST_STATE_PLAYING
3. Respond to the pad-added signals by linking either the audio or video
branch based on the type of pad added
4. Respond to bus messages such as seeking to a new position in the video

I'm using Qt 4.8.3 for the GUI and it runs in an event loop. Once a video is
playing, I'm not interacting with GStreamer until the user decides to play
another video.

Jim

-----Original Message-----
From:
gstreamer-devel-bounces+restlessmindsstudio=gmail.com at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+restlessmindsstudio=gmail.com at lists.freedesk
top.org] On Behalf Of Bernhard Graaf
Sent: Tuesday, February 19, 2013 11:22 AM
To: Discussion of the development of and with GStreamer
Subject: AW: Properly freeing resources

Hi Jim,

I've had the same issue in my C-App. This could only be solved to run the
App in a loop (Gstreamer or GTK). I believe it 's will be flash the messages
in the gst_bus_watch.
Do you use a loop in your App?

Bernhard
-----Original Message-----
From: "Jim" <restlessmindsstudio at gmail.com>
Sender: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
Date: Tue, 19 Feb 2013 11:03:01 
To: <gstreamer-devel at lists.freedesktop.org>
Reply-To: Discussion of the development of and with GStreamer
	<gstreamer-devel at lists.freedesktop.org>
Subject: Properly freeing resources

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list