mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
qtdemux: set the palette size correctly
This commit is contained in:
parent
fa95cec825
commit
b8c08838bb
1 changed files with 1 additions and 1 deletions
|
@ -5138,7 +5138,7 @@ gst_qtdemux_add_stream (GstQTDemux * qtdemux,
|
|||
/* make sure it's not writable. We leave MALLOCDATA to NULL so that we
|
||||
* don't free any of the buffer data. */
|
||||
palette = _gst_buffer_new_wrapped ((gpointer) palette_data,
|
||||
palette_count, NULL);
|
||||
palette_count * 4, NULL);
|
||||
|
||||
gst_caps_set_simple (stream->caps, "palette_data",
|
||||
GST_TYPE_BUFFER, palette, NULL);
|
||||
|
|
Loading…
Reference in a new issue