mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 21:35:44 +00:00
ext/: Set buffers on caps as miniobjects and not as boxed.
Original commit message from CVS: * ext/theora/theoraenc.c: (theora_set_header_on_caps): * ext/vorbis/vorbisenc.c: (gst_vorbisenc_set_header_on_caps): Set buffers on caps as miniobjects and not as boxed.
This commit is contained in:
parent
4954404e3c
commit
bfc017189b
3 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-06-22 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* ext/theora/theoraenc.c: (theora_set_header_on_caps):
|
||||||
|
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_set_header_on_caps):
|
||||||
|
Set buffers on caps as miniobjects and not as boxed.
|
||||||
|
|
||||||
2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -440,15 +440,15 @@ theora_set_header_on_caps (GstCaps * caps, GstBuffer * buf1,
|
||||||
/* put buffers in a fixed list */
|
/* put buffers in a fixed list */
|
||||||
g_value_init (&list, GST_TYPE_FIXED_LIST);
|
g_value_init (&list, GST_TYPE_FIXED_LIST);
|
||||||
g_value_init (&value, GST_TYPE_BUFFER);
|
g_value_init (&value, GST_TYPE_BUFFER);
|
||||||
g_value_set_boxed (&value, buf1);
|
gst_value_set_buffer (&value, buf1);
|
||||||
gst_value_list_append_value (&list, &value);
|
gst_value_list_append_value (&list, &value);
|
||||||
g_value_unset (&value);
|
g_value_unset (&value);
|
||||||
g_value_init (&value, GST_TYPE_BUFFER);
|
g_value_init (&value, GST_TYPE_BUFFER);
|
||||||
g_value_set_boxed (&value, buf2);
|
gst_value_set_buffer (&value, buf2);
|
||||||
gst_value_list_append_value (&list, &value);
|
gst_value_list_append_value (&list, &value);
|
||||||
g_value_unset (&value);
|
g_value_unset (&value);
|
||||||
g_value_init (&value, GST_TYPE_BUFFER);
|
g_value_init (&value, GST_TYPE_BUFFER);
|
||||||
g_value_set_boxed (&value, buf3);
|
gst_value_set_buffer (&value, buf3);
|
||||||
gst_value_list_append_value (&list, &value);
|
gst_value_list_append_value (&list, &value);
|
||||||
gst_structure_set_value (structure, "streamheader", &list);
|
gst_structure_set_value (structure, "streamheader", &list);
|
||||||
g_value_unset (&value);
|
g_value_unset (&value);
|
||||||
|
|
|
@ -802,15 +802,15 @@ gst_vorbisenc_set_header_on_caps (GstCaps * caps, GstBuffer * buf1,
|
||||||
/* put buffers in a fixed list */
|
/* put buffers in a fixed list */
|
||||||
g_value_init (&list, GST_TYPE_FIXED_LIST);
|
g_value_init (&list, GST_TYPE_FIXED_LIST);
|
||||||
g_value_init (&value, GST_TYPE_BUFFER);
|
g_value_init (&value, GST_TYPE_BUFFER);
|
||||||
g_value_set_boxed (&value, buf1);
|
gst_value_set_buffer (&value, buf1);
|
||||||
gst_value_list_append_value (&list, &value);
|
gst_value_list_append_value (&list, &value);
|
||||||
g_value_unset (&value);
|
g_value_unset (&value);
|
||||||
g_value_init (&value, GST_TYPE_BUFFER);
|
g_value_init (&value, GST_TYPE_BUFFER);
|
||||||
g_value_set_boxed (&value, buf2);
|
gst_value_set_buffer (&value, buf2);
|
||||||
gst_value_list_append_value (&list, &value);
|
gst_value_list_append_value (&list, &value);
|
||||||
g_value_unset (&value);
|
g_value_unset (&value);
|
||||||
g_value_init (&value, GST_TYPE_BUFFER);
|
g_value_init (&value, GST_TYPE_BUFFER);
|
||||||
g_value_set_boxed (&value, buf3);
|
gst_value_set_buffer (&value, buf3);
|
||||||
gst_value_list_append_value (&list, &value);
|
gst_value_list_append_value (&list, &value);
|
||||||
gst_structure_set_value (structure, "streamheader", &list);
|
gst_structure_set_value (structure, "streamheader", &list);
|
||||||
g_value_unset (&value);
|
g_value_unset (&value);
|
||||||
|
|
Loading…
Reference in a new issue