Skip to content

Commit

Permalink
dvdplayer: drop old ifdef out NV12/YUY2 testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus committed May 31, 2013
1 parent d378b9a commit 26b6e04
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions xbmc/cores/dvdplayer/DVDPlayerVideo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -684,22 +684,7 @@ void CDVDPlayerVideo::Process()
if (picture.iRepeatPicture)
picture.iDuration *= picture.iRepeatPicture + 1;

#if 1
int iResult = OutputPicture(&picture, pts);
#elif 0
// testing NV12 rendering functions
DVDVideoPicture* pTempNV12Picture = CDVDCodecUtils::ConvertToNV12Picture(&picture);
int iResult = OutputPicture(pTempNV12Picture, pts);
CDVDCodecUtils::FreePicture(pTempNV12Picture);
#elif 0
// testing YUY2 or UYVY rendering functions
// WARNING: since this scales a full YV12 frame, weaving artifacts will show on interlaced content
// even with the deinterlacer on
DVDVideoPicture* pTempYUVPackedPicture = CDVDCodecUtils::ConvertToYUV422PackedPicture(&picture, RENDER_FMT_UYVY422);
//DVDVideoPicture* pTempYUVPackedPicture = CDVDCodecUtils::ConvertToYUV422PackedPicture(&picture, RENDER_FMT_YUYV422);
int iResult = OutputPicture(pTempYUVPackedPicture, pts);
CDVDCodecUtils::FreePicture(pTempYUVPackedPicture);
#endif

if(m_started == false)
{
Expand Down

0 comments on commit 26b6e04

Please sign in to comment.