diff --git a/ChangeLog b/ChangeLog index f0fab852ce..e54fd78a4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-22 Wim Taymans + + * examples/seeking/seek.c: (main): + Give higher priority to bus signals than the gtk events + to fix a race condition in the segment looping. + 2005-11-22 Tim-Philipp Müller * ext/theora/Makefile.am: diff --git a/examples/seeking/seek.c b/examples/seeking/seek.c index a688b1a031..63c2227da4 100644 --- a/examples/seeking/seek.c +++ b/examples/seeking/seek.c @@ -1430,7 +1430,7 @@ main (int argc, char **argv) GstBus *bus; bus = gst_pipeline_get_bus (GST_PIPELINE (pipeline)); - gst_bus_add_signal_watch (bus); + gst_bus_add_signal_watch_full (bus, G_PRIORITY_HIGH); // g_signal_connect (bus, "message::state-changed", (GCallback) message_received, pipeline); g_signal_connect (bus, "message::new-clock", (GCallback) message_received, diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index a688b1a031..63c2227da4 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -1430,7 +1430,7 @@ main (int argc, char **argv) GstBus *bus; bus = gst_pipeline_get_bus (GST_PIPELINE (pipeline)); - gst_bus_add_signal_watch (bus); + gst_bus_add_signal_watch_full (bus, G_PRIORITY_HIGH); // g_signal_connect (bus, "message::state-changed", (GCallback) message_received, pipeline); g_signal_connect (bus, "message::new-clock", (GCallback) message_received,