[Bug 675359] New: Frame-based multi threaded decoding is broken with gst-ffmpegdec
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu May 3 03:10:22 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=675359
GStreamer | gst-ffmpeg | 0.11.x
Summary: Frame-based multi threaded decoding is broken with
gst-ffmpegdec
Classification: Platform
Product: GStreamer
Version: 0.11.x
OS/Version: All
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=213361)
--> (https://bugzilla.gnome.org/attachment.cgi?id=213361)
Patch
This has been broken for quite some time. The problem is empty buffer being
sent to the decoder on drain before any other data has been sent. This causes
the first decoding thread not being initialized properly and the first actual
frame being decoded in second thread.
With check to prevent drain when no data has been sent yet the decoding works.
The patch also enables frame based decoding by default, if this is not
desirable I can disable it. The decoding does introduce latency of 1 frame per
thread, but the performance benefits are significant.
--
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