Show
Ignore:
Timestamp:
07/13/09 12:05:31 (5 years ago)
Author:
douglask
Message:

Ensure that the H264 and MPEG4 encoders let VIC know that their frame format is YUV 420 (not CIF).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/mpeg4/codec/encoder-h264.cpp

    r3986 r4476  
    9595int H264Encoder::command(int argc, const char *const *argv) 
    9696{ 
    97     if (argc == 3) { 
     97    if (argc == 2) { 
     98        if (strcmp(argv[1], "frame-format") == 0) { 
     99            Tcl& tcl = Tcl::instance(); 
     100            tcl.result("420"); 
     101            return (TCL_OK); 
     102        } 
     103    } 
     104    else if (argc == 3) { 
    98105        if (strcmp(argv[1], "q") == 0) { 
    99106            gop = atoi(argv[2]);