diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-02-04 13:08:10 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-02-04 13:08:10 +0000 |
commit | a479380146a0338b72d1f6b256f1c40e189853c2 (patch) | |
tree | a5ee35642b43c22370985acf6683ec05758e3a4e /ext | |
parent | c161d30d879e4731d69b8b163c269f857269e688 (diff) |
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ffmpeg/gstffmpegcodecmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index 7e5e218..8575be9 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.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); |