Correct Error handling with filesrc "Resource not found" and demux

hobbesc7 hobbesc7 at gmail.com
Fri Aug 15 13:28:40 PDT 2014


> Well, check what's happening with GST_DEBUG and/or strace.
> 
> Either filesrc never gets an error from libc / the kernel, then you need
> to fix that. Or it does get an error but doesn't pick it up properly,
> then you need to fix filesrc.

With GST_DEBUG=*:6, I tried nulling my pipeline state with the device
disconnected.  The last line in the log is this:
0:00:08.476312900  9488 0x41e08600 DEBUG                basesrc
gstbasesrc.c:3549:gst_base_src_set_flushing:<src> flushing 1, live_play 0

If I null my pipeline with the device connected, I also see that line, but
it keeps going:
0:00:22.696700779  9331 0x41e08600 DEBUG                basesrc
gstbasesrc.c:3549:gst_base_src_set_flushing:<src> flushing 1, live_play 0
0:00:22.696772979  9331 0x41e08600 DEBUG               GST_PADS
gstpad.c:5616:gst_pad_stop_task:<src:src> stop task
0:00:22.696824619  9331 0x41e08600 DEBUG                   task
gsttask.c:663:gst_task_set_state:<src:src> Changing task 0x41e310a8 to state
1
...

So it looks like it's getting stuck at the gst_base_src_set_flushing(), but
I don't know why, or what that means.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Correct-Error-handling-with-filesrc-Resource-not-found-and-demux-tp4663414p4668314.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list