mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
ext/ffmpeg/gstffmpegdec.c: ... can't adjust buffer size of NULL buffers though (as happens when seeking in video from...
Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame): ... can't adjust buffer size of NULL buffers though (as happens when seeking in video from #327075).
This commit is contained in:
parent
2375ddee97
commit
2f6def3134
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
|
||||||
|
... can't adjust buffer size of NULL buffers though
|
||||||
|
(as happens when seeking in video from #327075).
|
||||||
|
|
||||||
2006-02-24 Michael Smith <msmith@fluendo.com>
|
2006-02-24 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
* autogen.sh:
|
* autogen.sh:
|
||||||
|
|
|
@ -986,7 +986,7 @@ gst_ffmpegdec_frame (GstFFMpegDec * ffmpegdec,
|
||||||
}
|
}
|
||||||
/* palette is not part of raw video frame in gst and the size
|
/* palette is not part of raw video frame in gst and the size
|
||||||
* of the outgoing buffer needs to be adjusted accordingly */
|
* of the outgoing buffer needs to be adjusted accordingly */
|
||||||
if (ffmpegdec->context->palctrl != NULL)
|
if (ffmpegdec->context->palctrl != NULL && outbuf != NULL)
|
||||||
GST_BUFFER_SIZE (outbuf) -= AVPALETTE_SIZE;
|
GST_BUFFER_SIZE (outbuf) -= AVPALETTE_SIZE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue