]> git.sesse.net Git - vlc/commitdiff
src/stream_output/stream_output.c: input_UpdateStatistics() expects an INPUT_STATISTI...
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Mon, 29 Nov 2010 09:27:08 +0000 (10:27 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Thu, 2 Dec 2010 09:34:50 +0000 (10:34 +0100)
input_UpdateStatistics() expects an INPUT_STATISTIC_* not an SOUT_STATISTIC_*

src/stream_output/stream_output.c

index 352262b071168b7b03db526d121ab3aab78de856..be9b71ecb0a5a0852430792f0dfc09a41b2fcddd 100644 (file)
@@ -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: