[vlc-devel] commit: transcode: try to fix audio resampling (fix #1862) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Aug 16 18:21:34 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Aug 16 10:56:32 2008 +0300| [867a815956401f12780892c3432d915ff470ff4e] | committer: Rémi Denis-Courmont
transcode: try to fix audio resampling (fix #1862)
This reverts commit d4485423d9c3a5519875f8bc37467831ce10763e.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=867a815956401f12780892c3432d915ff470ff4e
---
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 e9e84a1..a6e7e3b 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 = id->p_encoder->fmt_out.audio.i_rate;
+ 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_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