Hi!

Attached patch allows a muxer to know (and possibly write) 
the codec profile on stream copying.

Please comment, Carl Eugen
diff --git a/ffmpeg.c b/ffmpeg.c
index 67ce1f3..4499f5a 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2675,6 +2675,7 @@ static int transcode_init(void)
             enc_ctx->bits_per_coded_sample  = dec_ctx->bits_per_coded_sample;
 
             enc_ctx->time_base = ist->st->time_base;
+            enc_ctx->profile   = dec_ctx->profile;
             /*
              * Avi is a special case here because it supports variable fps but
              * having the fps and timebase differe significantly adds quite 
some
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to