Author: miguel
Date: 2007-06-01 12:56:38 -0400 (Fri, 01 Jun 2007)
New Revision: 78434

Modified:
   trunk/moon/src/ffvideo.cpp
Log:
Initialize

Modified: trunk/moon/src/ffvideo.cpp
===================================================================
--- trunk/moon/src/ffvideo.cpp  2007-06-01 16:47:06 UTC (rev 78433)
+++ trunk/moon/src/ffvideo.cpp  2007-06-01 16:56:38 UTC (rev 78434)
@@ -161,6 +161,8 @@
        
        // Track where we are at now
        video->initial_pts = video->video_stream->start_time;
+       video->micro_to_pts = 0.001;
+
        restart_timer (video);
 
        return FALSE;
@@ -482,12 +484,13 @@
        video_cairo_surface = NULL;
        video_scale_context = NULL;
        av_format_context = NULL;
-
+       
        timeout_handle = 0;
        initial_pts = 0;
        play_start_time = 0;
        frame_size = 0;
-       
+       micro_to_pts = 0;
+
        pipe (pipes);
        fcntl (pipes [0], F_SETFL, O_NONBLOCK);
        

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to