switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEEK:{
guint64 value;
+ GstEvent *real_seek;
/* we have to ask our peer to seek to time here as we know
* nothing about how to generate a granulepos from the src
goto error;
/* then seek with time on the peer */
- GstEvent *real_seek = gst_event_new_seek (
+ real_seek = gst_event_new_seek (
(GST_EVENT_SEEK_TYPE (event) & ~GST_SEEK_FORMAT_MASK) |
format, value);
vorbis_parse_set_header_on_caps (GstVorbisParse * parse, GstCaps * caps)
{
GstBuffer *buf1, *buf2, *buf3;
+ GstStructure *structure;
+ GValue list = { 0 };
+ GValue value = { 0 };
g_assert (parse);
g_assert (parse->streamheader);
buf3 = parse->streamheader->next->next->data;
g_assert (buf3);
- GstStructure *structure = gst_caps_get_structure (caps, 0);
- GValue list = { 0 };
- GValue value = { 0 };
+ structure = gst_caps_get_structure (caps, 0);
/* mark buffers */
GST_BUFFER_FLAG_SET (buf1, GST_BUFFER_IN_CAPS);