[vlc-devel] commit: Revert remnants of ddac67aaf2bde4179f695bb26033488e8e7c35cc ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Jul 9 17:16:15 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jul  9 18:16:49 2008 +0300| [d4485423d9c3a5519875f8bc37467831ce10763e]

Revert remnants of ddac67aaf2bde4179f695bb26033488e8e7c35cc

Fix audio transcoding).

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

 modules/stream_out/transcode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/transcode.c b/modules/stream_out/transcode.c
index 2662e6c..a1deba6 100644
--- a/modules/stream_out/transcode.c
+++ b/modules/stream_out/transcode.c
@@ -1146,7 +1146,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
                     id->p_decoder->fmt_out.i_codec );
     id->p_encoder->fmt_in.audio.i_format = id->p_decoder->fmt_out.i_codec;
 
-    id->p_encoder->fmt_in.audio.i_rate = fmt_last.audio.i_rate;//id->p_encoder->fmt_out.audio.i_rate;
+    id->p_encoder->fmt_in.audio.i_rate = id->p_encoder->fmt_out.audio.i_rate;
     id->p_encoder->fmt_in.audio.i_physical_channels =
         id->p_encoder->fmt_out.audio.i_physical_channels;
     id->p_encoder->fmt_in.audio.i_original_channels =




More information about the vlc-devel mailing list