Revision 9d375bf5

View differences:

ffplay.c
710 710
        if (aspect_ratio <= 0.0)
711 711
            aspect_ratio = 1.0;
712 712
        aspect_ratio *= (float)vp->width / (float)vp->height;
713
        /* if an active format is indicated, then it overrides the
714
           mpeg format */
715
#if 0
716
        if (is->video_st->codec->dtg_active_format != is->dtg_active_format) {
717
            is->dtg_active_format = is->video_st->codec->dtg_active_format;
718
            printf("dtg_active_format=%d\n", is->dtg_active_format);
719
        }
720
#endif
721
#if 0
722
        switch(is->video_st->codec->dtg_active_format) {
723
        case FF_DTG_AFD_SAME:
724
        default:
725
            /* nothing to do */
726
            break;
727
        case FF_DTG_AFD_4_3:
728
            aspect_ratio = 4.0 / 3.0;
729
            break;
730
        case FF_DTG_AFD_16_9:
731
            aspect_ratio = 16.0 / 9.0;
732
            break;
733
        case FF_DTG_AFD_14_9:
734
            aspect_ratio = 14.0 / 9.0;
735
            break;
736
        case FF_DTG_AFD_4_3_SP_14_9:
737
            aspect_ratio = 14.0 / 9.0;
738
            break;
739
        case FF_DTG_AFD_16_9_SP_14_9:
740
            aspect_ratio = 14.0 / 9.0;
741
            break;
742
        case FF_DTG_AFD_SP_4_3:
743
            aspect_ratio = 4.0 / 3.0;
744
            break;
745
        }
746
#endif
747 713

  
748 714
        if (is->subtitle_st)
749 715
        {

Also available in: Unified diff