Commit abb95977 authored by massiot's avatar massiot

* output.c: Fix -d option.


git-svn-id: svn://svn.videolan.org/dvblast/trunk@153 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent 52606018
......@@ -279,6 +279,17 @@ mtime_t output_Send( void )
mtime_t i_earliest_dts = -1;
int i;
if ( output_dup.i_config & OUTPUT_VALID )
{
while ( output_dup.p_packets != NULL
&& output_dup.p_packets->i_dts + i_output_latency
<= i_wallclock )
output_Flush( &output_dup );
if ( output_dup.p_packets != NULL )
i_earliest_dts = output_dup.p_packets->i_dts;
}
for ( i = 0; i < i_nb_outputs; i++ )
{
output_t *p_output = pp_outputs[i];
......
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