mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 00:28:21 +00:00
libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
Original commit message from CVS: * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek); Remove duplicated assignment and log a message in failure case.
This commit is contained in:
parent
8686083e85
commit
7198e34ee1
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-10-19 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
|
||||
Remove duplicated assignment and log a message in failure case.
|
||||
|
||||
2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
Patch by: Dig Ge <dig.ge.cn at gmail com>
|
||||
|
|
|
@ -986,9 +986,10 @@ gst_base_src_default_do_seek (GstBaseSrc * src, GstSegment * segment)
|
|||
} else if (segment->start == 0) {
|
||||
/* seek to start, we can implement a default for this. */
|
||||
segment->time = 0;
|
||||
res = TRUE;
|
||||
} else
|
||||
} else {
|
||||
res = FALSE;
|
||||
GST_INFO_OBJECT (src, "Can't do a default seek");
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue