mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
gcc-2.9x fixes
Original commit message from CVS: gcc-2.9x fixes
This commit is contained in:
parent
fabfd43f53
commit
6e8f57d253
2 changed files with 5 additions and 5 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 8b323f41bfaccb8f30bddfc6ff8bd6a4be04a3e1
|
||||
Subproject commit 6b0a313b93535f0df7956a01405ddb63a3d76b5a
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue