Revision f560dd82

View differences:

ffmpeg.c
125 125
static int idct_algo = 0;
126 126
static int use_part = 0;
127 127
static int packet_size = 0;
128
static int strict = 0;
128 129
static int debug = 0;
129 130

  
130 131
static int gop_size = 12;
......
1819 1820
    packet_size= atoi(arg);
1820 1821
}
1821 1822

  
1823
void opt_strict(const char *arg)
1824
{
1825
    strict= atoi(arg);
1826
}
1827

  
1822 1828
void opt_audio_bitrate(const char *arg)
1823 1829
{
1824 1830
    audio_bit_rate = atoi(arg) * 1000;
......
2241 2247
                video_enc->b_quant_offset = video_b_qoffset;
2242 2248
                video_enc->dct_algo = dct_algo;
2243 2249
                video_enc->idct_algo = idct_algo;
2250
                video_enc->strict_std_compliance = strict;
2244 2251
                if(packet_size){
2245 2252
                    video_enc->rtp_mode= 1;
2246 2253
                    video_enc->rtp_payload_size= packet_size;
......
2645 2652
    { "part", OPT_BOOL | OPT_EXPERT, {(void*)&use_part}, "use data partitioning (only MPEG-4)" },
2646 2653
    { "bug", HAS_ARG | OPT_EXPERT, {(void*)opt_workaround_bugs}, "workaround not auto detected encoder bugs", "param" },
2647 2654
    { "ps", HAS_ARG | OPT_EXPERT, {(void*)opt_packet_size}, "packet size", "size in bits" },
2655
    { "strict", HAS_ARG | OPT_EXPERT, {(void*)opt_strict}, "strictness", "how strictly to follow the standarts" },
2648 2656
    { "sameq", OPT_BOOL, {(void*)&same_quality}, 
2649 2657
      "use same video quality as source (implies VBR)" },
2650 2658
    { "debug", HAS_ARG | OPT_EXPERT, {(void*)opt_debug}, "print specific debug info", "" },
libavformat/avienc.c
84 84
    { CODEC_ID_MPEG1VIDEO, MKTAG('m', 'p', 'g', '2') }, 
85 85
    { CODEC_ID_MPEG1VIDEO, MKTAG('P', 'I', 'M', '1') }, 
86 86
    { CODEC_ID_MJPEG, MKTAG('M', 'J', 'P', 'G') },
87
    { CODEC_ID_HUFFYUV, MKTAG('H', 'F', 'Y', 'U') },
88
    { CODEC_ID_HUFFYUV, MKTAG('h', 'f', 'y', 'u') },
87 89
    { 0, 0 },
88 90
};
89 91

  

Also available in: Unified diff