[Bug 665566] New: ffmpegdec reopens the decoder every time it receives GST_EVENT_CAPS
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Dec 4 18:09:24 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=665566
GStreamer | gst-ffmpeg | 0.11.x
Summary: ffmpegdec reopens the decoder every time it receives
GST_EVENT_CAPS
Classification: Platform
Product: GStreamer
Version: 0.11.x
OS/Version: Mac OS
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-ffmpeg
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: matej.knopp at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=202788)
--> (https://bugzilla.gnome.org/attachment.cgi?id=202788)
Path to only reopen the decoder when new caps are different
Sometimes the pipeline is already playing when upstream element sends
RECONFIGURE event which parser receives and subsequently sends another
GST_EVENT_CAPS. The new CAPS event causes ffmpegdec to reopen decoder even when
CAPS are same and decoding is already in progress, which can lead to
decompression artifacts.
The patch just checks if new caps are different than old before reopening the
decoder. I'm not sure if this is the best solution, perhaps the problem should
be dealt with on another level.
--
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