[vlc-devel] [PATCH] When guessing bitrate in ASF muxer add only 128K for audio and 512K for video stream

Georgi Chorbadzhiyski gf at unixsol.org
Mon Jun 30 11:00:33 CEST 2008


When guessing bitrate in ASF muxer add only 128K for audio and 512K for video stream

---
 modules/mux/asf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/mux/asf.c b/modules/mux/asf.c
index 789da06..07be679 100644
--- a/modules/mux/asf.c
+++ b/modules/mux/asf.c
@@ -479,7 +479,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
             }
             else
             {
-                p_sys->i_bitrate += 512000;
+                p_sys->i_bitrate += 128000;
             }
             break;
         }
@@ -563,7 +563,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
             }
             else
             {
-                p_sys->i_bitrate += 1000000;
+                p_sys->i_bitrate += 512000;
             }
             break;
         }
-- 
1.5.5




More information about the vlc-devel mailing list