[Bug 752802] avviddec: Sends incorrect CAPS event before the correct one

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 29 09:48:53 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752802

--- Comment #11 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
This is worse than I though, here are some bits from my discussion on
#ffmpeg-devel

<nevcairiel> interlacing is of no consequence to the memory requirements for
the image buffer, and all other relevant properties are well known at that time
<ocrete> in many hardware, you need to initialise the display to get the ram
from
<nevcairiel> and get_buffer2 is not a callback to initialize your display, its
a callback to get a memory buffer to decode the frame into
<nevcairiel> if you use it for something else, you get to deal with problems
from that :)(
<wm4> are you sure software decoding would be fast enough to even reach
realtime on such a crappy restricted device?
<wm4> but a memcpy kills it?
<wm4> at this point you could probably decode a frame to software memory,
initialize the display, and then decode to video ram
<wm4> by starting again


So I think we have two options:
1. Drop the whole downstream allocation codepath from gst-libav, it may have
the side-effect of simplifying the code quite a bit.
2. Decode enough to get one output frame, get the caps, and then start decoding
for real...

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