summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 32e347e)
raw | patch | inline | side by side (parent: 32e347e)
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Tue, 17 Jul 2012 11:50:41 +0000 (11:50 +0000) | ||
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | |
Tue, 17 Jul 2012 12:58:52 +0000 (12:58 +0000) |
twi thinks the codec may possibly output a partially decoded buffer while
still outputting a valid full frame for display. The docs aren't very
clear, so I'll revert that particular change.
I see no difference with this change on or off in the test streams I have
here, so I'm not sure there's a difference in practice.
still outputting a valid full frame for display. The docs aren't very
clear, so I'll revert that particular change.
I see no difference with this change on or off in the test streams I have
here, so I'm not sure there's a difference in practice.
src/gstducatividdec.c | patch | blob | history |
diff --git a/src/gstducatividdec.c b/src/gstducatividdec.c
index 3a4c95f0bfbd8f07efe2db24c6c66563642a4ef5..46b28bf34711a6b59576b4d1e1c26a2792cdfe69 100644 (file)
--- a/src/gstducatividdec.c
+++ b/src/gstducatividdec.c
/* we now let the codec decide */
self->dynParams->newFrameFlag = XDAS_FALSE;
- if (err == XDM_EFAIL || self->outArgs->outBufsInUseFlag)
+ if (err == XDM_EFAIL)
goto skip_outbuf_processing;
for (i = 0; i < IVIDEO2_MAX_IO_BUFFERS && self->outArgs->outputID[i]; i++) {
self->send_crop_event = FALSE;
}
- if (G_UNLIKELY (self->first_out_buffer) && send && !self->outArgs->outBufsInUseFlag) {
+ if (G_UNLIKELY (self->first_out_buffer) && send) {
GstDRMBufferPool *pool;
self->first_out_buffer = FALSE;
gst_drm_buffer_pool_destroy (pool);
}
- if (send && !self->outArgs->outBufsInUseFlag) {
+ if (send) {
GstClockTime ts;
ts = GST_BUFFER_TIMESTAMP (outbuf);