[Bug 741856] New: omxvideodec: add a hack to workaround egl_render signalling EOS prematurely

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 22 05:17:09 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=741856
  GStreamer | gst-omx | git

           Summary: omxvideodec: add a hack to workaround egl_render
                    signalling EOS prematurely
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-omx
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: george.kiagiadakis at collabora.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=293178)
 View: https://bugzilla.gnome.org/attachment.cgi?id=293178
 Review: https://bugzilla.gnome.org/review?bug=741856&attachment=293178

patch

The egl_render component of the broadcom (raspberry pi) implementation has a
bug that causes it to signal OMX_BUFFERFLAG_ENDOFFRAME | OMX_BUFFERFLAG_EOS  at
some point earlier than the actual end of the file. After that, violating the
OMX specification, it continues pushing out some more buffers without any
further indication of when it has really finished.

This patch adds a hack that causes gst-omx to wait a bit more time after
egl_render has signalled EOS before pushing EOS further to the gstreamer video
sink. In case a new buffer arrives at this point, omxvideodec pushes it
normally downstream and waits again. If this timeout passes without any new
frame from egl_render, then EOS is properly sent to the video sink too.

-- 
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