[Bug 697548] New: Setting same caps resets decoder
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Apr 8 04:40:18 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=697548
GStreamer | gst-libav | 1.0.5
Summary: Setting same caps resets decoder
Classification: Platform
Product: GStreamer
Version: 1.0.5
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-libav
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: siva.chandran.p at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Inside gst_ffmpegviddec_set_format function of gstavviddec.c file, we attempt
to make sure that the new caps is not the same one we already have and we avoid
draining and closing/resetting the decoder.
But because we set the 'last_caps' to the new caps before we close/reset the
decoder, the last_caps is reset to NULL immediately after we setting it to the
new caps. Due to this we are not able to detect whether the given caps is new
one or the one the decoder is already configured for.
This makes the decoder to get reset every time we set the caps even if the
decoder is already configured for the given caps.
--
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