Ticket #3958: vert_distort_14488.patch
File vert_distort_14488.patch, 2.3 KB (added by , 17 years ago) |
---|
-
libs/libmythtv/tv_play.cpp
5557 5557 case kAdjustFill_Half: text = tr("Half Zoom"); break; 5558 5558 case kAdjustFill_Full: text = tr("Full Zoom"); break; 5559 5559 case kAdjustFill_Stretch: text = tr("Zoom & Stretch"); break; 5560 case kAdjustFill_Vert: text = tr("Zoom Vertical"); break; 5560 5561 default: text = tr("Off"); break; 5561 5562 } 5562 5563 … … 6876 6877 QString("%1").arg(kAdjustFill_Stretch), 6877 6878 (adjustfill == kAdjustFill_Stretch) ? 1 : 0, 6878 6879 NULL, "ADJUSTFILLGROUP"); 6880 subitem = new OSDGenericTree(item, tr("Vertical"), "TOGGLEFILL" + 6881 QString("%1").arg(kAdjustFill_Vert), 6882 (adjustfill == kAdjustFill_Vert) ? 1 : 0, 6883 NULL, "ADJUSTFILLGROUP"); 6879 6884 6880 6885 if (db_use_picture_attr) 6881 6886 { -
libs/libmythtv/videooutbase.cpp
922 922 display_video_rect.width() * 4 / 3, 923 923 display_video_rect.height() * 4 / 3); 924 924 } 925 else if (adjustfill == kAdjustFill_Vert) 926 { 927 // Zoom mode -- Expand by 4/3 and overscan. 928 // 1/6 of original is 1/8 of new 929 display_video_rect = QRect( 930 display_video_rect.left(), 931 display_video_rect.top() - (display_video_rect.height() / 6), 932 display_video_rect.width(), 933 display_video_rect.height() * 4 / 3); 934 } 925 935 else if (adjustfill == kAdjustFill_Half) 926 936 { 927 937 // Zoom mode -- Expand by 7/6 and overscan. -
libs/libmythtv/videooutbase.h
53 53 kAdjustFill_Half, 54 54 kAdjustFill_Full, 55 55 kAdjustFill_Stretch, 56 kAdjustFill_Vert, 56 57 kAdjustFill_END 57 58 }; 58 59