Ticket #12048: 0001-detect-cropped-HD-720p-content.patch

File 0001-detect-cropped-HD-720p-content.patch, 1005 bytes (added by angela.schmid@…, 6 years ago)
  • mythtv/libs/libmythtv/mythplayer.cpp

    From c1bd756acc54f76814fb5dca798ea191cbef6b97 Mon Sep 17 00:00:00 2001
    From: angelaschmid <angela.schmid@wolke7.net>
    Date: Sun, 5 Jan 2014 20:19:56 +0100
    Subject: [PATCH] detect cropped HD (720p) content
    
    ---
     mythtv/libs/libmythtv/mythplayer.cpp |    2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/mythtv/libs/libmythtv/mythplayer.cpp b/mythtv/libs/libmythtv/mythplayer.cpp
    index 4cba867..798f720 100644
    a b void MythPlayer::GetCodecDescription(InfoMap &infoMap) 
    45134513    bool interlaced = is_interlaced(m_scan);
    45144514    if (width == 1920 || height == 1080 || height == 1088)
    45154515        infoMap["videodescrip"] = interlaced ? "HD_1080_I" : "HD_1080_P";
    4516     else if (height == 720 && !interlaced)
     4516    else if ((width == 1280 || height == 720) && !interlaced)
    45174517        infoMap["videodescrip"] = "HD_720_P";
    45184518    else if (height >= 720)
    45194519        infoMap["videodescrip"] = "HD";