[vlc-devel] commit: Fixed audio transcoding when using filters. (Laurent Aimar )

git version control git at videolan.org
Mon Feb 22 21:26:23 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Feb 22 21:20:28 2010 +0100| [3620e95f210186d8c22214bf5364c02f2626f4f5] | committer: Laurent Aimar 

Fixed audio transcoding when using filters.

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

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

diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index 744bbd4..9fe7b85 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -385,7 +385,7 @@ int transcode_audio_process( sout_stream_t *p_stream,
         if( !p_audio_buf )
             abort();
 
-        p_audio_buf->i_pts = p_audio_buf->i_dts;
+        p_audio_buf->i_dts = p_audio_buf->i_pts;
 
         audio_timer_start( id->p_encoder );
         p_block = id->p_encoder->pf_encode_audio( id->p_encoder, p_audio_buf );




More information about the vlc-devel mailing list