mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
ext/gio/gstgiobasesrc.c: If seeking to a new position succeeds don't simply return from create() without creating a b...
Original commit message from CVS: Patch by: Milosz Derezynski <internalerror at gmail dot com> * ext/gio/gstgiobasesrc.c: (gst_gio_base_src_create): If seeking to a new position succeeds don't simply return from create() without creating a buffer. Do this only in the case seeking to the new position fails. Fixes bug #523054.
This commit is contained in:
parent
a0de863603
commit
e97290739d
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2008-03-17 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
Patch by: Milosz Derezynski <internalerror at gmail dot com>
|
||||
|
||||
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_create):
|
||||
If seeking to a new position succeeds don't simply return from
|
||||
create() without creating a buffer. Do this only in the case
|
||||
seeking to the new position fails. Fixes bug #523054.
|
||||
|
||||
2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst-libs/gst/video/video.c: (gst_video_format_parse_caps),
|
||||
|
|
|
@ -309,7 +309,8 @@ gst_gio_base_src_create (GstBaseSrc * base_src, guint64 offset, guint size,
|
|||
|
||||
if (ret == GST_FLOW_OK)
|
||||
src->position = offset;
|
||||
return ret;
|
||||
else
|
||||
return ret;
|
||||
}
|
||||
|
||||
buf = gst_buffer_new_and_alloc (size);
|
||||
|
|
Loading…
Reference in a new issue