Mercurial > libavformat.hg
comparison movenc.c @ 1239:18130af77b09 libavformat
indention
author | bcoudurier |
---|---|
date | Mon, 07 Aug 2006 14:19:33 +0000 |
parents | eb749ae2b181 |
children | 504be467b795 |
comparison
equal
deleted
inserted
replaced
1238:eb749ae2b181 | 1239:18130af77b09 |
---|---|
604 put_be16(pb, 1); /* Data-reference index */ | 604 put_be16(pb, 1); /* Data-reference index */ |
605 | 605 |
606 put_be16(pb, 0); /* Codec stream version */ | 606 put_be16(pb, 0); /* Codec stream version */ |
607 put_be16(pb, 0); /* Codec stream revision (=0) */ | 607 put_be16(pb, 0); /* Codec stream revision (=0) */ |
608 if (track->mode == MODE_MOV) { | 608 if (track->mode == MODE_MOV) { |
609 put_tag(pb, "FFMP"); /* Vendor */ | 609 put_tag(pb, "FFMP"); /* Vendor */ |
610 if(track->enc->codec_id == CODEC_ID_RAWVIDEO) { | 610 if(track->enc->codec_id == CODEC_ID_RAWVIDEO) { |
611 put_be32(pb, 0); /* Temporal Quality */ | 611 put_be32(pb, 0); /* Temporal Quality */ |
612 put_be32(pb, 0x400); /* Spatial Quality = lossless*/ | 612 put_be32(pb, 0x400); /* Spatial Quality = lossless*/ |
613 } else { | 613 } else { |
614 put_be32(pb, 0x200); /* Temporal Quality = normal */ | 614 put_be32(pb, 0x200); /* Temporal Quality = normal */ |
615 put_be32(pb, 0x200); /* Spatial Quality = normal */ | 615 put_be32(pb, 0x200); /* Spatial Quality = normal */ |
616 } | 616 } |
617 } else { | 617 } else { |
618 put_be32(pb, 0); /* Reserved */ | 618 put_be32(pb, 0); /* Reserved */ |
619 put_be32(pb, 0); /* Reserved */ | 619 put_be32(pb, 0); /* Reserved */ |
620 put_be32(pb, 0); /* Reserved */ | 620 put_be32(pb, 0); /* Reserved */ |
621 } | 621 } |