filesrc only emits resource error when fakesink dump=true

hobbesc7 hobbesc7 at gmail.com
Mon Aug 11 14:27:13 PDT 2014


In code, my pipeline is like this:

gst_element_link_many(src, queue1, sink, NULL)

where src is a file src with location = dev/video0, and sink is a udpsink

Again, when the encoder loses power, the node at /dev/video0 disappears, as
expected, and the video freezes.  But when I try and stop the pipeline
gracefully, my application hangs at this line:

gst_element_set_state (GST_ELEMENT(pipeline), GST_STATE_NULL)

I've tried both 0.10.36 and 1.4.0 and got the same result.  I also tried a
fdsrc instead of a filesrc, and got the same result.

If I plug the encoder back in, nothing happens until I kill my application. 
Then the device re-enumerates, and the node at /dev/video0 reappears.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/filesrc-only-emits-resource-error-when-fakesink-dump-true-tp4668250p4668274.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list