gcc-2.9x fixes

Original commit message from CVS:
gcc-2.9x fixes
This commit is contained in:
Ronald S. Bultje 2003-08-02 00:56:11 +00:00
parent fabfd43f53
commit 6e8f57d253
2 changed files with 5 additions and 5 deletions

2
common

@ -1 +1 @@
Subproject commit 8b323f41bfaccb8f30bddfc6ff8bd6a4be04a3e1
Subproject commit 6b0a313b93535f0df7956a01405ddb63a3d76b5a

View file

@ -611,6 +611,7 @@ index_seek (GstMad *mad, GstPad *pad, GstEvent *event)
while (gst_formats_contains (peer_formats, *try_formats)) {
gint64 value;
GstEvent *seek_event;
if (gst_index_entry_assoc_map (entry, *try_formats, &value)) {
/* lookup succeeded, create the seek */
@ -622,10 +623,9 @@ index_seek (GstMad *mad, GstPad *pad, GstEvent *event)
gst_format_get_details (*try_formats)->nick,
value);
GstEvent *seek_event =
gst_event_new_seek (*try_formats |
GST_SEEK_METHOD_SET |
GST_SEEK_FLAG_FLUSH, value);
seek_event = gst_event_new_seek (*try_formats |
GST_SEEK_METHOD_SET |
GST_SEEK_FLAG_FLUSH, value);
if (gst_pad_send_event (GST_PAD_PEER (mad->sinkpad), seek_event)) {
/* seek worked, we're done, loop will exit */