Fixed gint64 format specifier to G_GINT64_FORMAT.
[glsdk/dual-decode.git] / src / gui.c
index a5dad615ba4f46bd8060c780e4abdc5053c1849e..2acf7af3d8f18285ab3f876e4dcfd3162947f0c0 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -435,7 +435,7 @@ static gboolean cbForwardClicked (GtkWidget *widget, gpointer data)
         gst_element_query_duration (pipes[DECODER_INDEX_SINGLE]->pipe,          
                                     &format,&duration);                         
         seekPoint =  (duration * percent/ (gdouble)100)+ FORWARD;                
-        g_print ("SEEK POINT %ld\n", seekPoint);                                 
+        g_print ("SEEK POINT %"G_GINT64_FORMAT"\n", seekPoint);                                 
         ret = DualDecode_seekMedia (pipes[DECODER_INDEX_SINGLE], seekPoint);     
     }                                                                           
     else {                                                                       
@@ -443,7 +443,7 @@ static gboolean cbForwardClicked (GtkWidget *widget, gpointer data)
             gst_element_query_duration (pipes[DECODER_INDEX_SINGLE]->pipe,      
                                         &format, &duration);                     
             seekPoint =  (duration * percent/ (gdouble)100) + FORWARD;
-            g_print ("SEEK POINT %ld\n", seekPoint);            
+            g_print ("SEEK POINT %"G_GINT64_FORMAT"\n", seekPoint);            
             ret = DualDecode_seekMedia (pipes[DECODER_INDEX_SINGLE], seekPoint); 
         }                                                                       
         else {                                                                  
@@ -471,7 +471,7 @@ static gboolean cbRewindClicked (GtkWidget *widget, gpointer data)
         gst_element_query_duration (pipes[DECODER_INDEX_SINGLE]->pipe,          
                                     &format,&duration);                         
         seekPoint =  (duration * percent/ (gdouble)100) - REWIND;               
-        g_print ("SEEK POINT %ld\n", seekPoint);
+        g_print ("SEEK POINT %"G_GINT64_FORMAT"\n", seekPoint);
         seekPoint = (seekPoint < 0) ? 0 : seekPoint;                                 
         ret = DualDecode_seekMedia (pipes[DECODER_INDEX_SINGLE], seekPoint);     
     }                                                                           
@@ -480,7 +480,7 @@ static gboolean cbRewindClicked (GtkWidget *widget, gpointer data)
             gst_element_query_duration (pipes[DECODER_INDEX_SINGLE]->pipe,      
                                         &format, &duration);                    
             seekPoint =  (duration * percent/ (gdouble)100) - REWIND;          
-            g_print ("SEEK POINT %ld\n", seekPoint);
+            g_print ("SEEK POINT %"G_GINT64_FORMAT"\n", seekPoint);
             seekPoint = (seekPoint < 0) ? 0 : seekPoint;                             
             ret = DualDecode_seekMedia (pipes[DECODER_INDEX_SINGLE], seekPoint); 
         }