[Bug 770921] vaapidecoder loses input caps info

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 14 17:29:41 UTC 2016


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

--- Comment #12 from Jan Schmidt <thaytan at noraisin.net> ---
(In reply to Víctor Manuel Jáquez Leal from comment #11)
> (In reply to Jan Schmidt from comment #10)
> > Well, I guess that's one way to fix it.
> 
> It can be improved, merging the previous caps with the new one if they are
> compatible. Or having a way to set the new codec state to the VA decoder.

I think so, but for that it would need to preserve both the original state from
the sink pad, and the decoder state separately, so as to selectively merge
fields from each.

This way works fine for this test case - and probably for most cases anyway.
The reason the full caps are late in arriving is because the SPS/PPS aren't
available for a while - so nothing is getting output before anyway and decoder
reset produces the same decoded frames as previously. It might be slightly more
overhead recreating a decoder that wasn't actually useful yet, but I suspect
it's not enough to care about.

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