CComponentsPIP: centering alternate backkground image

Origin commit data
------------------
Commit: 4f69f4f34a
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-02 (Wed, 02 Oct 2013)
This commit is contained in:
2013-10-02 09:31:23 +02:00
parent 2c48a510e0
commit 281827abbe

View File

@@ -92,7 +92,7 @@ void CComponentsPIP::paint(bool do_save_bg)
videoDecoder->Pig(pig_x, pig_y, pig_w, pig_h, screen_w, screen_h);
}
else{ //paint an alternate image if no tv mode available
CComponentsPicture pic = CComponentsPicture (pig_x, pig_y, pig_w, pig_h, pic_name, CC_ALIGN_LEFT);
CComponentsPicture pic = CComponentsPicture (pig_x, pig_y, pig_w, pig_h, pic_name, CC_ALIGN_HOR_CENTER | CC_ALIGN_VER_CENTER);
pic.paint(CC_SAVE_SCREEN_NO);
}