Diffstat (limited to 'noncore/multimedia/opieplayer2/nullvideo.c') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/nullvideo.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/nullvideo.c b/noncore/multimedia/opieplayer2/nullvideo.c index 3a18a40..5ee8d5d 100644 --- a/noncore/multimedia/opieplayer2/nullvideo.c +++ b/noncore/multimedia/opieplayer2/nullvideo.c @@ -66,2 +66,3 @@ struct opie_frame_s { int output_width, output_height; + int gui_width, gui_height; uint8_t *chunk[3]; @@ -295,3 +296,4 @@ static void null_update_frame_format( vo_driver_t* self, vo_frame_t* img, || (this->user_ratio != frame->user_ratio) - || this->gui_changed ) { + || (this->gui_width != frame-> gui_width ) + || (this-> gui_height != frame-> gui_height)) { @@ -305,3 +307,4 @@ static void null_update_frame_format( vo_driver_t* self, vo_frame_t* img, // frame->show_video = this->m_show_video; - + frame->gui_width = this->gui_width; + frame->gui_height = this->gui_height; @@ -538,4 +541,4 @@ vo_driver_t* init_video_out_plugin( config_values_t* conf, vo->display_ratio = 1.0; - vo->gui_width = 200; - vo->gui_height = 150; + vo->gui_width = 16; + vo->gui_height = 8; vo->frameDis = NULL; |