Commit 4a67753c authored by Wim Taymans's avatar Wim Taymans
Browse files

examples/seeking/seek.c: Give higher priority to bus signals than the gtk...

examples/seeking/seek.c: Give higher priority to bus signals than the gtk events to fix a race condition in the segme...

Original commit message from CVS:
* examples/seeking/seek.c: (main):
Give higher priority to bus signals than the gtk events
to fix a race condition in the segment looping.
parent c90f7552
2005-11-22 Wim Taymans <wim@fluendo.com>
* 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 <tim at centricular dot net>
 
* ext/theora/Makefile.am:
......
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment