mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +00:00
pre-C99 fixes
Original commit message from CVS: pre-C99 fixes
This commit is contained in:
parent
fbd38aad1a
commit
abf9990e25
2 changed files with 6 additions and 4 deletions
|
@ -392,6 +392,7 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
|
|||
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
|
||||
|
@ -406,7 +407,7 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
|
|||
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);
|
||||
|
||||
|
|
|
@ -103,6 +103,9 @@ static void
|
|||
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);
|
||||
|
@ -115,9 +118,7 @@ vorbis_parse_set_header_on_caps (GstVorbisParse * parse, GstCaps * caps)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue