[totem] backend: Fix compilation failure



commit 1b390f723c1d3146acec0c8e8a893ad5978e5787
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Jul 14 22:15:09 2012 +0100

    backend: Fix compilation failure
    
    Code that was forward-ported from GStreamer 0.10 and didn't quite
    work with GStreamer 1.0.

 src/backend/bacon-video-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 364b64c..6d96491 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -2890,7 +2890,7 @@ bacon_video_widget_has_previous_track (BaconVideoWidget *bvw)
     return TRUE;
 
   fmt = gst_format_get_by_nick ("chapter");
-  if (gst_element_query_position (bvw->priv->play, &fmt, &val))
+  if (gst_element_query_position (bvw->priv->play, fmt, &val))
     return (val > 0);
 
   return FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]