ext/ffmpeg/gstffmpegdec.c: My previous commit was not completly correct.. I've disabl...
authorLuca Ognibene <luogni@tin.it>
Wed, 16 Nov 2005 22:53:26 +0000 (22:53 +0000)
committerLuca Ognibene <luogni@tin.it>
Wed, 16 Nov 2005 22:53:26 +0000 (22:53 +0000)
Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer):
My previous commit was not completly correct.. I've disabled
our _get_buffer function until we make it work 100%. I've opened a bug
(#321662) for this issue.

ChangeLog
ext/ffmpeg/gstffmpegdec.c

index e993c6f4a66f75b4e62cf35c99d74c97342354fa..e34a3b1c8cb3e1ae7ca5cebbaefb98cb2eed015b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-11-16  Luca Ognibene  <luogni@tin.it>
+
+       * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_get_buffer):
+         My previous commit was not completly correct.. I've disabled
+       our _get_buffer function until we make it work 100%. I've opened a bug
+       (#321662) for this issue.
+
 2005-11-16  Luca Ognibene  <luogni@tin.it>
 
        * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_release_buffer),
index b36ff4827c7e58d09a4e774e4fadbf0c12ae4eb8..429f70719aef6799790134842fdaf12ecb8a1beb 100644 (file)
@@ -547,7 +547,7 @@ gst_ffmpegdec_get_buffer (AVCodecContext * context, AVFrame * picture)
 
       bufsize = avpicture_get_size (context->pix_fmt, width, height);
 
-      if ((width != context->width) || (height != context->height)) {
+      if ((width != context->width) || (height != context->height) || 1) {
 #ifdef FORCE_OUR_GET_BUFFER
         context->width = width;
         context->height = height;