Commit e9729073 authored by Milosz Derezynski's avatar Milosz Derezynski Committed by Sebastian Dröge
Browse files

ext/gio/gstgiobasesrc.c: If seeking to a new position succeeds don't simply...

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.
parent a0de8636
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment