[SCM] libav/experimental: also set strict_std_compliance for stream copy, its needed for the bitstream filters

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:53:10 UTC 2013


The following commit has been merged in the experimental branch:
commit f889d3f9e4280a9cc81895fc2fed137f0a0c08ac
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Nov 10 09:44:38 2006 +0000

    also set strict_std_compliance for stream copy, its needed for the bitstream filters
    
    Originally committed as revision 6959 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index 6f7b381..c41b279 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2931,6 +2931,7 @@ static void new_audio_stream(AVFormatContext *oc)
 
     audio_enc = st->codec;
     audio_enc->codec_type = CODEC_TYPE_AUDIO;
+    audio_enc->strict_std_compliance = strict;
 
     if(audio_codec_tag)
         audio_enc->codec_tag= audio_codec_tag;
@@ -2961,7 +2962,6 @@ static void new_audio_stream(AVFormatContext *oc)
             audio_enc->flags |= CODEC_FLAG_QSCALE;
             audio_enc->global_quality = st->quality = FF_QP2LAMBDA * audio_qscale;
         }
-        audio_enc->strict_std_compliance = strict;
         audio_enc->thread_count = thread_count;
         /* For audio codecs other than AC3 or DTS we limit */
         /* the number of coded channels to stereo   */

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list