sound-juicer r2137 - in trunk: . src
- From: tpm svn gnome org
- To: svn-commits-list gnome org
- Subject: sound-juicer r2137 - in trunk: . src
- Date: Fri, 14 Mar 2008 14:01:59 +0000 (GMT)
Author: tpm
Date: Fri Mar 14 14:01:59 2008
New Revision: 2137
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=2137&view=rev
Log:
* src/sj-play.c: (select_track):
Don't use gst_element_seek_simple() though, otherwise we'd have
to up the GStreamer requirement.
Modified:
trunk/ChangeLog
trunk/src/sj-play.c
Modified: trunk/src/sj-play.c
==============================================================================
--- trunk/src/sj-play.c (original)
+++ trunk/src/sj-play.c Fri Mar 14 14:01:59 2008
@@ -71,8 +71,9 @@
return FALSE;
} else if (ret == GST_STATE_CHANGE_SUCCESS) {
/* state change was instant, we can seek right away */
- if (gst_element_seek_simple (pipeline, gst_format_get_by_nick ("track"),
- GST_SEEK_FLAG_FLUSH, seek_to_track)) {
+ if (gst_element_seek (pipeline, 1.0, gst_format_get_by_nick ("track"),
+ GST_SEEK_FLAG_FLUSH, GST_SEEK_TYPE_SET, seek_to_track,
+ GST_SEEK_TYPE_NONE, -1)) {
current_track = seek_to_track;
} else {
/* seek failed - what now? */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]