summaryrefslogtreecommitdiffstats
path: root/ext/directfb/dfb-example.c
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2005-11-23 18:05:16 +0000
committerJulien Moutte <julien@moutte.net>2005-11-23 18:05:16 +0000
commit36ef03791ff3785d529872b283da158f0a51f46a (patch)
treed75ec3941bb9472eb2c3a8bb1d258dec101ea279 /ext/directfb/dfb-example.c
parent14de3c807a75fac0cbc24898c8de49372bec905e (diff)
downloadgst-plugins-bad-36ef03791ff3785d529872b283da158f0a51f46a.tar.gz
gst-plugins-bad-36ef03791ff3785d529872b283da158f0a51f46a.tar.bz2
gst-plugins-bad-36ef03791ff3785d529872b283da158f0a51f46a.zip
Use fraction for framerate, various fixes.
Original commit message from CVS: 2005-11-23 Julien MOUTTE <julien@moutte.net> * docs/plugins/gst-plugins-bad-plugins-decl.txt: * ext/directfb/dfb-example.c: (main): * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_surface_destroy), (gst_dfbvideosink_event_thread), (gst_dfbvideosink_setup), (gst_dfbvideosink_getcaps), (gst_dfbvideosink_setcaps), (gst_dfbvideosink_change_state), (gst_dfbvideosink_get_times), (gst_dfbvideosink_bufferpool_clear), (gst_dfbvideosink_buffer_alloc), (gst_dfbsurface_finalize), (gst_dfbvideosink_navigation_send_event), (gst_dfbvideosink_finalize), (gst_dfbvideosink_init), (gst_dfbvideosink_class_init): * ext/directfb/dfbvideosink.h: Use fraction for framerate, various fixes.
Diffstat (limited to 'ext/directfb/dfb-example.c')
-rw-r--r--ext/directfb/dfb-example.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/directfb/dfb-example.c b/ext/directfb/dfb-example.c
index 3f455c92..b9956337 100644
--- a/ext/directfb/dfb-example.c
+++ b/ext/directfb/dfb-example.c
@@ -70,6 +70,9 @@ main (int argc, char *argv[])
/* Release elements and stop playback */
gst_element_set_state (pipeline, GST_STATE_NULL);
+ /* Free the main loop */
+ g_main_loop_unref (loop);
+
/* Release DirectFB context and surface */
primary->Release (primary);
dfb->Release (dfb);