Changes between Initial Version and Version 1 of Ticket #511, comment 2


Ignore:
Timestamp:
Dec 9, 2011, 1:48:58 AM (5 years ago)
Author:
ami_stuff
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #511, comment 2

    initial v1  
    1 In this case the file is flipped unnecessary. 
    2  
    3 libavcodec/mjpegdec.c: 
    4 {{{ 
    5             else if((len > 20 && !strncmp(cbuf, "Intel(R) JPEG Library", 21)) || 
    6                     (len > 19 && !strncmp(cbuf, "Metasoft MJPEG Codec", 20))){ 
    7 -                s->flipped = 1; 
    8 +                s->flipped = 0; 
    9             } 
    10 }}} 
    11  
    12 so it looks like the intel jpeg encoder can save flipped and not flipped jpeg frames and the question is how to identify which frames should be fliped and which not. 
     1nevermind, misread the first post :P