[FFmpeg-trac] #2190(avformat:open): yuv4mpegpipe does not preserve interlaced settings

FFmpeg trac at avcodec.org
Sun Jan 27 03:02:38 CET 2013


#2190: yuv4mpegpipe does not preserve interlaced settings
------------------------------------+------------------------------------
             Reporter:  ulatekh     |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  yuv4mpeg    |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by ulatekh):

 I just noticed something in your patch...in the libavformat/yuv4mpeg.c
 section, you have

 {{{
 inter = st->codec->field_order == AV_FIELD_TT || st->codec->field_order ==
 AV_FIELD_TB ? 't' : 'b';
 }}}

 Shouldn't that be

 {{{
 inter = st->codec->field_order == st->codec->field_order == AV_FIELD_TT ?
 't' : 'b';
 }}}

 ?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2190#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list