summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2003-12-21 19:48:40 +0000
committerJulien Moutte <julien@moutte.net>2003-12-21 19:48:40 +0000
commit58fee07b9531f7667ad3932e06d1acd635a53ae0 (patch)
tree2acb52bd8481bfc3968d0a3fa1cf0f099e515ed6 /examples
parentae91d7c7171c56667ec1b36ea2ecc17a76c4cff4 (diff)
configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to find X development files. I don't understand the...
Original commit message from CVS: * configure.ac: X_DISPLAY_MISSING is set to 1 if AC_PATH_XTRA fails to find X development files. I don't understand the previous tests and they fail on my debian/ppc unstable. This one works. * examples/gstplay/player.c: (main): Set the pipeline to READY before exiting. * gst-libs/gst/play/gstplay.c: (gst_play_get_length_callback), (gst_play_set_video_sink), (gst_play_set_audio_sink), (gst_play_set_visualization): Add some safety checks in set_ methods and state_change. This was throwing some ugly CRITICAL messages when pipeline was getting disposed and casts were failing.
Diffstat (limited to 'examples')
-rw-r--r--examples/gstplay/player.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c
index 41fbb546..ef58e326 100644
--- a/examples/gstplay/player.c
+++ b/examples/gstplay/player.c
@@ -149,6 +149,8 @@ main (int argc, char *argv[])
g_main_loop_run (loop);
+ gst_element_set_state (GST_ELEMENT (play), GST_STATE_READY);
+
/* unref */
gst_object_unref (GST_OBJECT (play));