summaryrefslogtreecommitdiff
path: root/libbanshee/banshee-player-dvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbanshee/banshee-player-dvd.c')
-rw-r--r--libbanshee/banshee-player-dvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbanshee/banshee-player-dvd.c b/libbanshee/banshee-player-dvd.c
index 55d499c9b..991b506c7 100644
--- a/libbanshee/banshee-player-dvd.c
+++ b/libbanshee/banshee-player-dvd.c
@@ -296,7 +296,7 @@ bp_dvd_go_to_next_chapter (BansheePlayer *player)
{
gint64 index;
GstFormat format = gst_format_get_by_nick ("chapter");
- gst_element_query_position (player->playbin, &format, &index);
+ gst_element_query_position (player->playbin, format, &index);
gst_element_seek (player->playbin, 1.0, format, GST_SEEK_FLAG_FLUSH,
GST_SEEK_TYPE_SET, index + 1, GST_SEEK_TYPE_NONE, 0);
}
@@ -306,7 +306,7 @@ bp_dvd_go_to_previous_chapter (BansheePlayer *player)
{
gint64 index;
GstFormat format = gst_format_get_by_nick ("chapter");
- gst_element_query_position (player->playbin, &format, &index);
+ gst_element_query_position (player->playbin, format, &index);
gst_element_seek (player->playbin, 1.0, format, GST_SEEK_FLAG_FLUSH,
GST_SEEK_TYPE_SET, index - 1, GST_SEEK_TYPE_NONE, 0);
}