[Bug 774150] New: video format changes after a few iterations and causes crash
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Nov 9 15:47:49 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=774150
Bug ID: 774150
Summary: video format changes after a few iterations and causes
crash
Classification: Platform
Product: GStreamer
Version: 1.0.0
OS: Linux
Status: NEW
Severity: critical
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: henning.hinze at mail.de
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 339402
--> https://bugzilla.gnome.org/attachment.cgi?id=339402&action=edit
source code
i set up a pipeline for mp4 video files like that:
filesrc -> decodebin -> videoconverter -> capsfilter ("video/x-raw,
format=RGB") -> appsink
and want to pull the samples from the video. after using gst_video_frame_map i
want to release the resources with gst_video_frame_unmap to prevent memory
leaking. however the program crashes with that output:
i could reproduce the error with this mp4 video:
https://archive.org/details/test177
video info format: RGB
video frame meta info: RGB
video info format: RGB
video frame meta info: RGB
video info format: RGB
video frame meta info: RGB
video info format: RGB
video frame meta info: I420
** (gst-gl:16312): CRITICAL **: gst_video_frame_map_id: assertion
'info->finfo->format == meta->format' failed
** (gst-gl:16312): CRITICAL **: gst_video_frame_map_id: assertion
'info->finfo->format == meta->format' failed
(gst-gl:16312): GStreamer-CRITICAL **: gst_buffer_unmap: assertion
'GST_IS_BUFFER (buffer)' failed
(gst-gl:16312): GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'mini_object->refcount > 0' failed
** (gst-gl:16312): CRITICAL **: gst_video_frame_map_id: assertion
'GST_IS_BUFFER (buffer)' failed
(gst-gl:16312): GStreamer-CRITICAL **: gst_pad_push: assertion 'GST_IS_BUFFER
(buffer)' failed
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list