Commit d8f0cef9 authored by Sam Hocevar's avatar Sam Hocevar

. remis le kludge du i_coding_type == I_CODING_TYPE en attendant qu'on

  comprenne pourquoi �a merde (�a doit �tre tout con, mais je trouve pas)
parent 50dded27
...@@ -89,7 +89,7 @@ void vpar_SynchroUpdateStructures( vpar_thread_t * p_vpar, ...@@ -89,7 +89,7 @@ void vpar_SynchroUpdateStructures( vpar_thread_t * p_vpar,
i_displaydate = decoder_fifo->buffer[decoder_fifo->i_start]->b_has_pts ? i_displaydate = decoder_fifo->buffer[decoder_fifo->i_start]->b_has_pts ?
decoder_fifo->buffer[decoder_fifo->i_start]->i_pts : decoder_fifo->buffer[decoder_fifo->i_start]->i_pts :
0; 0;
if( !i_displaydate /* || i_coding_type != I_CODING_TYPE */ ) if( !i_displaydate || i_coding_type != I_CODING_TYPE )
{ {
if (!p_vpar->synchro.i_images_since_pts ) if (!p_vpar->synchro.i_images_since_pts )
p_vpar->synchro.i_images_since_pts = 10; p_vpar->synchro.i_images_since_pts = 10;
...@@ -99,6 +99,8 @@ void vpar_SynchroUpdateStructures( vpar_thread_t * p_vpar, ...@@ -99,6 +99,8 @@ void vpar_SynchroUpdateStructures( vpar_thread_t * p_vpar,
//fprintf (stderr, " "); //fprintf (stderr, " ");
} }
decoder_fifo->buffer[decoder_fifo->i_start]->b_has_pts = 0;
/* else fprintf (stderr, "R "); /* else fprintf (stderr, "R ");
if (dropped) fprintf (stderr, " "); else fprintf (stderr, "* "); if (dropped) fprintf (stderr, " "); else fprintf (stderr, "* ");
fprintf (stderr, "%i ", i_coding_type); fprintf (stderr, "%i ", i_coding_type);
......
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