dvbbasebin: Use a non-timer GstPoll
authorSebastian Dröge <sebastian@centricular.com>
Thu, 30 Jun 2016 06:31:20 +0000 (08:31 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 30 Jun 2016 06:32:04 +0000 (08:32 +0200)
set_flushing() causes inconsistent states on timer polls and also signals a
g_critical() nowadays because of that.

sys/dvb/dvbbasebin.c

index 3104bca4598fc59cba964b1b486aef2e660d6e37..c05f65ed646552b94a3b4b61bcf353ce9cb5ad5b 100644 (file)
@@ -537,7 +537,7 @@ dvb_base_bin_init (DvbBaseBin * dvbbasebin)
   dvbbasebin->task =
       gst_task_new ((GstTaskFunction) dvb_base_bin_task, dvbbasebin, NULL);
   gst_task_set_lock (dvbbasebin->task, &dvbbasebin->lock);
-  dvbbasebin->poll = gst_poll_new_timer ();
+  dvbbasebin->poll = gst_poll_new (TRUE);
 }
 
 static void