[vlc-commits] commit: src/stream_output/stream_output.c: input_UpdateStatistics() expects an INPUT_STATISTIC_* not an SOUT_STATISTIC_* (Jean-Paul Saman )

git at videolan.org git at videolan.org
Thu Dec 2 10:59:53 CET 2010


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Mon Nov 29 10:27:08 2010 +0100| [85c4fe7dc669c95aab4090ab65820714cc5c3e79] | committer: Jean-Paul Saman 

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_*

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=85c4fe7dc669c95aab4090ab65820714cc5c3e79
---

 src/stream_output/stream_output.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
index 352262b..be9b71e 100644
--- a/src/stream_output/stream_output.c
+++ b/src/stream_output/stream_output.c
@@ -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:



More information about the vlc-commits mailing list