ext/ogg/: Buffer on caps is not boxed anymore.

Original commit message from CVS:
* ext/ogg/README:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_set_header_on_caps):
Buffer on caps is not boxed anymore.
This commit is contained in:
Wim Taymans 2005-06-23 15:09:31 +00:00
parent bfc017189b
commit 1ffcf1b1d9
4 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2005-06-23 Wim Taymans <wim@fluendo.com>
* ext/ogg/README:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_set_header_on_caps):
Buffer on caps is not boxed anymore.
2005-06-22 Wim Taymans <wim@fluendo.com>
* ext/theora/theoraenc.c: (theora_set_header_on_caps):

View file

@ -8,8 +8,9 @@ libgstogg_la_SOURCES = \
gstoggmux.c \
gstogmparse.c
libgstogg_la_CFLAGS = $(GST_CFLAGS) $(OGG_CFLAGS)
libgstogg_la_CFLAGS = $(GST_CFLAGS) $(OGG_CFLAGS) $(GST_PLUGINS_LIBS_CFLAGS)
libgstogg_la_LIBADD = $(OGG_LIBS) \
$(top_builddir)/gst-libs/gst/riff/libgstriff-@GST_MAJORMINOR@.la $(GST_BASE_LIBS)
libgstogg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
$(top_builddir)/gst-libs/gst/riff/libgstriff-@GST_MAJORMINOR@.la $(GST_BASE_LIBS) \
$(top_builddir)/gst-libs/gst/oggmapper/libgstoggmapper-@GST_MAJORMINOR@.la
libgstogg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_PLUGINS_LIBS_LIBS)

View file

@ -200,7 +200,8 @@ For Vorbis:
- 1 page with 1 packet header identification
- N pages with 2 packets comments and codebooks
- granulepos is samplenumber of next page
- one packet can contain a variable number of samples
- one packet can contain a variable number of samples but one frame
that should be handed to the vorbis decoder.
For Theora
@ -211,7 +212,6 @@ For Theora
is a combination of keyframe number and p frames since keyframe.
- one packet contains 1 frame

View file

@ -684,7 +684,7 @@ gst_ogg_mux_set_header_on_caps (GstCaps * caps, GList * buffers)
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_IN_CAPS);
g_value_init (&value, GST_TYPE_BUFFER);
g_value_set_boxed (&value, buf);
gst_value_set_buffer (&value, buf);
gst_value_list_append_value (&list, &value);
g_value_unset (&value);
}