From 99b2583820db61c109b41f15637e4119104d4177 Mon Sep 17 00:00:00 2001 From: Julien Moutte Date: Sun, 21 Dec 2003 19:48:40 +0000 Subject: 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. --- examples/gstplay/player.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c index 41fbb5461..ef58e3263 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)); -- cgit v1.2.3