mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
rawparse: fix duplicated format in handle_seek_pull
GstFormat variable are duplicated in handle_seek_pull function. So we need to move this variable in condition statement. https://bugzilla.gnome.org/show_bug.cgi?id=753243
This commit is contained in:
parent
0e70f8c94f
commit
be714c7441
1 changed files with 2 additions and 3 deletions
|
@ -810,14 +810,13 @@ gst_raw_parse_handle_seek_pull (GstRawParse * rp, GstEvent * event)
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (rp, "converted start - stop to time");
|
GST_DEBUG_OBJECT (rp, "converted start - stop to time");
|
||||||
|
|
||||||
format = GST_FORMAT_TIME;
|
|
||||||
|
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
} else {
|
} else {
|
||||||
format = GST_FORMAT_TIME;
|
|
||||||
flags = 0;
|
flags = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
format = GST_FORMAT_TIME;
|
||||||
|
|
||||||
flush = ((flags & GST_SEEK_FLAG_FLUSH) != 0);
|
flush = ((flags & GST_SEEK_FLAG_FLUSH) != 0);
|
||||||
|
|
||||||
/* start flushing up and downstream so that the loop function pauses and we
|
/* start flushing up and downstream so that the loop function pauses and we
|
||||||
|
|
Loading…
Reference in a new issue