After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732707 - v4l2object: Assert with fakesink
v4l2object: Assert with fakesink
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.3.90
Other Linux
: Normal normal
: 1.3.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-03 19:23 UTC by Nicolas Dufresne (ndufresne)
Modified: 2016-12-19 06:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2014-07-03 19:23:14 UTC
Following pipeline would lead to assertion on NULL pool:

gst-launch-1.0 filesrc location=... ! qtdemux ! h264parse ! v4l2video8dec ! fakesink

(gst-launch-1.0:17083): GStreamer-CRITICAL **: gst_buffer_pool_get_config: assertion 'GST_IS_BUFFER_POOL (pool)' failed

(gst-launch-1.0:17083): GStreamer-CRITICAL **: gst_buffer_pool_config_get_params: assertion 'config != NULL' failed

(gst-launch-1.0:17083): GStreamer-CRITICAL **: gst_structure_free: assertion 'structure != NULL' failed

This is because if special stride is needed and downstream don't have VideoMeta support, we let the baseclass create a generic pool to copy to. Patch coming.
Comment 1 Nicolas Dufresne (ndufresne) 2014-07-03 19:33:12 UTC
commit 0126e756769b9af7d8309eb582c11ea249434f3e
Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date:   Thu Jul 3 15:21:18 2014 -0400

    v4l2object: Pool might be NULL in decide allocation
    
    If special stride is needed and downstream don't support VideoMeta,
    pool might be NULL in order to let the baseclass create a generic
    pool­. This would lead to assertion with on Exynos with:
    
    gst-launch-1.0 -v filesrc location=mov ! qtdemux ! h264parse ! \
                        v4l2video8dec ! fakesink
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732707