Ticket #1122: 1122-fix-v4.patch
File 1122-fix-v4.patch, 2.0 KB (added by , 20 years ago) |
---|
-
libs/libmythtv/NuppelVideoPlayer.cpp
367 367 368 368 bool NuppelVideoPlayer::InitVideo(void) 369 369 { 370 VERBOSE(VB_RECORD, "InitVideo()"); 370 371 InitFilters(); 371 372 if (using_null_videoout) 372 373 { … … 447 448 448 449 void NuppelVideoPlayer::ReinitVideo(void) 449 450 { 451 VERBOSE(VB_RECORD, "ReinitVideo()"); 450 452 InitFilters(); 451 453 452 454 vidExitLock.lock(); -
libs/libmythtv/videoout_xv.cpp
851 851 */ 852 852 bool VideoOutputXv::InitXvMC(MythCodecID mcodecid) 853 853 { 854 VERBOSE(VB_IMPORTANT, "InitXvMC() -- begin"); 854 855 (void)mcodecid; 855 856 #ifdef USING_XVMC 856 857 xv_port = GrabSuitableXvPort(XJ_disp, XJ_root, mcodecid, … … 900 901 xv_port = -1; 901 902 } 902 903 904 VERBOSE(VB_IMPORTANT, "InitXvMC() -- end ok("<<ok<<")"); 903 905 return ok; 904 906 #else // USING_XVMC 905 907 return false; … … 916 918 */ 917 919 bool VideoOutputXv::InitXVideo() 918 920 { 921 VERBOSE(VB_IMPORTANT, "InitXVideo() -- begin"); 919 922 xv_port = GrabSuitableXvPort(XJ_disp, XJ_root, kCodec_MPEG2, 920 923 XJ_width, XJ_height); 921 924 if (xv_port == -1) … … 1001 1004 else 1002 1005 video_output_subtype = XVideo; 1003 1006 1007 VERBOSE(VB_IMPORTANT, "InitXVideo() -- end ok("<<ok<<")"); 1004 1008 return ok; 1005 1009 } 1006 1010 … … 1081 1085 (void)stream_type, (void)xvmc_chroma, (void)test_surface; 1082 1086 1083 1087 #ifdef USING_XVMC 1088 VERBOSE(VB_IMPORTANT, "GetBestSupportedCodec() -- begin"); 1084 1089 Display *disp; 1085 1090 X11S(disp = XOpenDisplay(NULL)); 1086 1091 … … 1161 1166 ret = (MythCodecID)(kCodec_MPEG1 + (stream_type-1)); 1162 1167 } 1163 1168 1169 VERBOSE(VB_IMPORTANT, "GetBestSupportedCodec() -- end"); 1164 1170 return ret; 1165 1171 #else // if !USING_XVMC 1166 1172 return (MythCodecID)(kCodec_MPEG1 + (stream_type-1));