Commit 807e7ab0 authored by Christophe Massiot's avatar Christophe Massiot

Rajout de #define SAM_SYNCHRO si sam veut reprendre son code.

parent 008db608
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
/***************************************************************************** /*****************************************************************************
* video_synchro_t and video_synchro_tab_s : timers for the video synchro * video_synchro_t and video_synchro_tab_s : timers for the video synchro
*****************************************************************************/ *****************************************************************************/
#if 0 #ifdef SAM_SYNCHRO
typedef struct video_synchro_tab_s typedef struct video_synchro_tab_s
{ {
double mean; double mean;
......
...@@ -245,7 +245,7 @@ static int InitThread( vpar_thread_t *p_vpar ) ...@@ -245,7 +245,7 @@ static int InitThread( vpar_thread_t *p_vpar )
/* /*
* Initialize the synchro properties * Initialize the synchro properties
*/ */
#if 0 #ifdef SAM_SYNCHRO
p_vpar->synchro.i_last_decode_pts = 0; p_vpar->synchro.i_last_decode_pts = 0;
p_vpar->synchro.i_last_display_pts = 0; p_vpar->synchro.i_last_display_pts = 0;
p_vpar->synchro.i_images_since_pts = 0; p_vpar->synchro.i_images_since_pts = 0;
......
...@@ -156,7 +156,7 @@ static void __inline__ ReferenceUpdate( vpar_thread_t * p_vpar, ...@@ -156,7 +156,7 @@ static void __inline__ ReferenceUpdate( vpar_thread_t * p_vpar,
vout_UnlinkPicture( p_vpar->p_vout, p_vpar->sequence.p_forward ); vout_UnlinkPicture( p_vpar->p_vout, p_vpar->sequence.p_forward );
if( p_vpar->sequence.p_backward != NULL ) if( p_vpar->sequence.p_backward != NULL )
{ {
#if 0 #ifdef SAM_SYNCHRO
vout_DatePicture( p_vpar->p_vout, p_vpar->sequence.p_backward, vout_DatePicture( p_vpar->p_vout, p_vpar->sequence.p_backward,
vpar_SynchroDate( p_vpar ) ); vpar_SynchroDate( p_vpar ) );
#else #else
...@@ -172,7 +172,7 @@ static void __inline__ ReferenceUpdate( vpar_thread_t * p_vpar, ...@@ -172,7 +172,7 @@ static void __inline__ ReferenceUpdate( vpar_thread_t * p_vpar,
p_vpar->sequence.p_backward = p_newref; p_vpar->sequence.p_backward = p_newref;
if( p_newref != NULL ) if( p_newref != NULL )
vout_LinkPicture( p_vpar->p_vout, p_newref ); vout_LinkPicture( p_vpar->p_vout, p_newref );
#if 1 #ifndef SAM_SYNCHRO
p_vpar->synchro.i_coding_type = i_coding_type; p_vpar->synchro.i_coding_type = i_coding_type;
#endif #endif
} }
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
* Local prototypes * Local prototypes
*/ */
#if 0 #ifdef SAM_SYNCHRO
/***************************************************************************** /*****************************************************************************
* vpar_SynchroUpdateTab : Update a mean table in the synchro structure * vpar_SynchroUpdateTab : Update a mean table in the synchro structure
*****************************************************************************/ *****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment