Commit 85c4fe7d authored by Jean-Paul Saman's avatar Jean-Paul Saman

src/stream_output/stream_output.c: input_UpdateStatistics() expects an...

src/stream_output/stream_output.c: input_UpdateStatistics() expects an INPUT_STATISTIC_* not an SOUT_STATISTIC_*

input_UpdateStatistics() expects an INPUT_STATISTIC_* not an SOUT_STATISTIC_*
parent 932a8b1d
......@@ -160,7 +160,7 @@ void sout_DeleteInstance( sout_instance_t * p_sout )
}
/*****************************************************************************
*
*
*****************************************************************************/
void sout_UpdateStatistic( sout_instance_t *p_sout, sout_statistic_t i_type, int i_delta )
{
......@@ -176,21 +176,21 @@ void sout_UpdateStatistic( sout_instance_t *p_sout, sout_statistic_t i_type, int
switch( i_type )
{
case SOUT_STATISTIC_DECODED_VIDEO:
i_input_type = SOUT_STATISTIC_DECODED_VIDEO;
i_input_type = INPUT_STATISTIC_DECODED_VIDEO;
break;
case SOUT_STATISTIC_DECODED_AUDIO:
i_input_type = SOUT_STATISTIC_DECODED_AUDIO;
i_input_type = INPUT_STATISTIC_DECODED_AUDIO;
break;
case SOUT_STATISTIC_DECODED_SUBTITLE:
i_input_type = SOUT_STATISTIC_DECODED_SUBTITLE;
i_input_type = INPUT_STATISTIC_DECODED_SUBTITLE;
break;
case SOUT_STATISTIC_SENT_PACKET:
i_input_type = SOUT_STATISTIC_SENT_PACKET;
i_input_type = INPUT_STATISTIC_SENT_PACKET;
break;
case SOUT_STATISTIC_SENT_BYTE:
i_input_type = SOUT_STATISTIC_SENT_BYTE;
i_input_type = INPUT_STATISTIC_SENT_BYTE;
break;
default:
......
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