summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f5cbbc3)
raw | patch | inline | side by side (parent: f5cbbc3)
author | Alessandro Decina <alessandro.decina@collabora.com> | |
Tue, 8 May 2012 12:36:36 +0000 (14:36 +0200) | ||
committer | Alessandro Decina <alessandro.decina@collabora.com> | |
Tue, 8 May 2012 12:36:36 +0000 (14:36 +0200) |
Remove some code that used to force-free inArgs->inputID on some errors. Now we
flush the codec so the buffer is unlocked during flushing.
flush the codec so the buffer is unlocked during flushing.
src/gstducatih264dec.c | patch | blob | history |
diff --git a/src/gstducatih264dec.c b/src/gstducatih264dec.c
index fedb46fe6bd93a66ef5cff2d44a53a66107e8650..8231cdcc70bba22fab923a9e549d5c4106a5d55f 100644 (file)
--- a/src/gstducatih264dec.c
+++ b/src/gstducatih264dec.c
/* No valid slice. This seems to be bad enough that it's better to flush and
* skip to the next keyframe.
*/
-
- /* the codec doesn't unlock the input buffer in this case... */
- gst_buffer_unref ((GstBuffer *) self->inArgs->inputID);
- self->inArgs->inputID = 0;
-
gst_ducati_viddec_codec_flush (self, FALSE);
}