]> git.sesse.net Git - vlc/blobdiff - src/input/clock.c
control: Remove libvlc_event_fini exception handling, as we don't need it.
[vlc] / src / input / clock.c
index 91db272884af6dc31e3074d0241f29371f01606b..241ea487062f115d6e2ab9d0954b0ca90370916d 100644 (file)
@@ -203,6 +203,15 @@ void input_ClockSetPCR( input_thread_t *p_input,
     }
 }
 
+/*****************************************************************************
+ * input_ClockResetPCR:
+ *****************************************************************************/
+void input_ClockResetPCR( input_thread_t * p_input, input_clock_t *cl )
+{
+    cl->i_synchro_state =  SYNCHRO_REINIT;
+    cl->last_pts = 0;
+}
+
 /*****************************************************************************
  * input_ClockGetTS: manages a PTS or DTS
  *****************************************************************************/