#5092: Field order wrong for DV HD
-------------------------------------+-------------------------------------
             Reporter:  Dan203       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Dan203):

 This should fix it...

     /* Determine the codec's field order from the packet */
     if ( *vsc_pack == dv_video_control ) {
         s->frame->top_field_first = !(vsc_pack[3] & 0x40);

         // Reference field order is reversed in SMPTE 370M spec for HD
         if (s->sys->height > 625)
             s->frame->top_field_first = !s->frame->top_field_first;
     }

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5092#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to