Error restarting pipeline - decodebin bug?

killerrats koreysjunkmail at gmail.com
Sat Mar 23 00:07:59 UTC 2019


Will work:
gst_element_set_state(pipeline, GST_STATE_PLAYING);
gst_element_set_state(pipeline, GST_STATE_PAUSED);
gst_element_set_state(pipeline, GST_STATE_PLAYING);
or
gst_element_set_state(pipeline, GST_STATE_PLAYING);
sleep(2);
gst_element_set_state(pipeline, GST_STATE_NULL);
pipeline = gst_parse_launch(pipelineDesc, NULL);
sleep(1);
gst_element_set_state(pipeline, GST_STATE_PLAYING);
sleep(2);
gst_element_set_state(pipeline, GST_STATE_NULL);

Will not work:
gst_element_set_state(pipeline, GST_STATE_PLAYING);
gst_element_set_state(pipeline, GST_STATE_PAUSED);
gst_element_set_state(pipeline, GST_STATE_NULL);
gst_element_set_state(pipeline, GST_STATE_PLAYING);



-----
------------------------------
Gstreamer 1.14.3
------------------------------
Windows
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list