changeset 1809:491581a2b9a7 libavformat

codec_tag settable via VideoTag, and transmit codec_tag in ffm
author alex
date Thu, 22 Feb 2007 13:23:38 +0000
parents 572ce77d7333
children d85795da84ab
files ffm.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ffm.c	Thu Feb 22 08:40:33 2007 +0000
+++ b/ffm.c	Thu Feb 22 13:23:38 2007 +0000
@@ -201,6 +201,7 @@
             put_be32(pb, codec->nsse_weight);
             put_be32(pb, codec->frame_skip_cmp);
             put_be64(pb, av_dbl2int(codec->rc_buffer_aggressivity));
+            put_be32(pb, codec->codec_tag);
             break;
         case CODEC_TYPE_AUDIO:
             put_be32(pb, codec->sample_rate);
@@ -534,6 +535,7 @@
             codec->nsse_weight = get_be32(pb);
             codec->frame_skip_cmp = get_be32(pb);
             codec->rc_buffer_aggressivity = av_int2dbl(get_be64(pb));
+            codec->codec_tag = get_be32(pb);
             break;
         case CODEC_TYPE_AUDIO:
             codec->sample_rate = get_be32(pb);