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 e993c6f..e34a3b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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),
        (gst_ffmpegdec_frame):
         Fix some segfaults while seeking. When i have unreffed 
index b36ff48..429f707 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;