v4l2src not closing the video device properly
Adrian Pardini
listas at tangopardo.com.ar
Wed Sep 9 03:26:35 PDT 2015
On 4 September 2015 at 10:30, mariannasb <mariannasb at yahoo.com.br> wrote:
> In my gst application I have the main loop running and a watch on the bus.
> In case of GST_MESSAGE_ERROR I do a g_main_loop_quit (loop)
> Then I set the pipeline to NULL state and unref it.
>
> As far as I can see the problem is when the v4l2src is supposed to go to
> NULL state.
Hello Mariann ,
just a shot in the dark but I am quite sure you need to wait for the
pipeline to go to the NULL state before quitting your main loop.
Regards.
More information about the gstreamer-devel
mailing list