OSDN Git Service

crystalhd: Revert back to letting hardware handle packed b-frames
authorPhilip Langdale <philipl@overt.org>
Sat, 15 Oct 2016 22:50:29 +0000 (15:50 -0700)
committerPhilip Langdale <philipl@overt.org>
Wed, 2 Nov 2016 20:47:57 +0000 (13:47 -0700)
commit6cc390dd5a53623de14010c0ae9067e345e36565
treeda2e240f6460864bbda31c35c2ac600b5b933c77
parentb5d714f493946f02b957f57e491321abc816e753
crystalhd: Revert back to letting hardware handle packed b-frames

I'm not sure why, but the mpeg4_unpack_bframes bsf is not
interacting well with seeking. Looking at the code, it should be
ok, with possibly one warning shown, but I see it getting stuck
for an extended period of time after a seek where a packed frame
is cached to be shown later.

So, I gave up on that and went back to making the old hardware
based path work. Turns out that it wasn't broken except that some
samples have a 6 byte drop packet which I wasn't accounting for.

Now it works again and seeks are good.
libavcodec/crystalhd.c