[vlc-devel] commit: Revert "transcode: try to fix audio resampling (fix #1862)" ( Ilkka Ollakka )
Derk-Jan Hartman
hartman at videolan.org
Tue Sep 2 12:59:47 CEST 2008
This likely breaks samr/samb encoding again, but this is NOT the place
where this should be fixed. encoder specified samplerates should be
handled separately.
DJ
On 2 sep 2008, at 12:46, git version control wrote:
> vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Sep
> 2 13:46:36 2008 +0300| [c73b643eeb9c12209e54490f08cd5384990a3ace] |
> committer: Ilkka Ollakka
>
> Revert "transcode: try to fix audio resampling (fix #1862)"
>
> This reverts commit 867a815956401f12780892c3432d915ff470ff4e.
>
> That commit basicly just disabled resampling
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c73b643eeb9c12209e54490f08cd5384990a3ace
> ---
>
> 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 620a109..9a6490d 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 =
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
More information about the vlc-devel
mailing list