GNOME Bugzilla – Bug 696651
v4l2loopback:gst_buffer_get_meta: assertion `buffer != NULL' failed."
Last modified: 2013-04-03 09:15:17 UTC
When i execute a gstreamer-1.0 pipeline "gst-launch-1.0 -evm videotestsrc ! v4l2sink device=/dev/video1" for video loop back using v4l2loopback version 0.6.3 it thows the following error "(gst-launch-1.0:17157): GStreamer-CRITICAL **: gst_buffer_get_meta: assertion `buffer != NULL' failed." The behaviour is inconsistent, in 5 attempts atleast thrice this error comes. System Environment, Ubuntu 12.10, 32bit, 3.5.0-26-generic kernel. It looks like some problem with the v4l2loopback element, because when I replace the v4l2lopback with fakesink , it didnt throw any error.
commit 14300e58059ff5a6ca6cf2b2942804f4f64b8ad0 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Wed Apr 3 11:09:50 2013 +0200 v4l2: free all queued buffers Don't just loop over the first num_queued buffers but loop over all the buffers and check if they need to be freed. It is possible that not all buffers are queued and then the entry in our array will be NULL. Those buffers that are not queued were freed in stop(). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=696651