mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
ext/ffmpeg/gstffmpegcodecmap.c: Buffers aren't boxed types any longer.
Original commit message from CVS: * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette): Buffers aren't boxed types any longer.
This commit is contained in:
parent
c161d30d87
commit
a479380146
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_get_palette):
|
||||
Buffers aren't boxed types any longer.
|
||||
|
||||
2006-02-03 Edgard Lima <edgard.lima@indt.org.br>
|
||||
|
||||
* ext/ffmpeg/gstffmpegenc.c:
|
||||
|
|
|
@ -47,7 +47,7 @@ gst_ffmpeg_get_palette (const GstCaps *caps, AVCodecContext *context)
|
|||
/* do we have a palette? */
|
||||
if ((palette_v = gst_structure_get_value (str,
|
||||
"palette_data")) && context) {
|
||||
palette = g_value_get_boxed (palette_v);
|
||||
palette = gst_value_get_buffer (palette_v);
|
||||
if (GST_BUFFER_SIZE (palette) >= 256 * 4) {
|
||||
if (context->palctrl)
|
||||
av_free (context->palctrl);
|
||||
|
|
Loading…
Reference in a new issue