[Bug 696540] New: Ring buffer released after parsing caps when setting caps
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Mar 25 01:50:48 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=696540
GStreamer | gst-plugins-base | 1.0.5
Summary: Ring buffer released after parsing caps when setting
caps
Classification: Platform
Product: GStreamer
Version: 1.0.5
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: visechelle at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=239735)
View: https://bugzilla.gnome.org/attachment.cgi?id=239735
Review: https://bugzilla.gnome.org/review?bug=696540&attachment=239735
Patch
In gstaudiobasesrc.c when setting src caps in gst_audio_base_src_setcaps(), the
ringbuffer is released after parsing the caps which sets some fields inside
spec and by releasing the ringbuffer, these data are then lost. This does not
happen the first time setting the caps has the ringbuffer is considered has
already release but any other time, this will fail.
In the patch in attachment, I just moved releasing the ringbuffer before
parsing the caps to avoid such issue.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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