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:
Stefan Kost 2008-10-19 19:57:25 +00:00
parent 8686083e85
commit 7198e34ee1
2 changed files with 8 additions and 2 deletions

View file

@ -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>

View file

@ -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;
}