author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Tue, 17 Jul 2012 10:04:45 +0000 (10:04 +0000) | ||
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Tue, 17 Jul 2012 10:17:33 +0000 (10:17 +0000) | ||
commit | 7a19df69a600d071017d15f3d0799eb0a6ffd7c7 | |
tree | 2326de0dbced917a451bf0afca453d7593622273 | tree | snapshot (tar.xz tar.gz zip) |
parent | 3a4ef903e3cd60ee5bae5a80964208c1863302ae | commit | diff |
ducatividdec: only send buffers when the decoder is done
For interlaced streams, a decoder may supply a partially filled buffer,
and will set a flag when that buffer is not yet fully filled.
In such a case, we do not want to send it downstream, but wait for it
to be filled before doing so.
Also instruct the codec to force a frame start on flush, just in case.
For interlaced streams, a decoder may supply a partially filled buffer,
and will set a flag when that buffer is not yet fully filled.
In such a case, we do not want to send it downstream, but wait for it
to be filled before doing so.
Also instruct the codec to force a frame start on flush, just in case.
src/gstducatividdec.c | diff | blob | history |