author | sandman <sandman> | 2002-08-03 23:58:20 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-08-03 23:58:20 (UTC) |
commit | 0cecd08dba036f39e414e34a2b7c070008ee3884 (patch) (unidiff) | |
tree | c187c9308f0553b1d5d9cd59093bcc3c11740665 /noncore/multimedia/opieplayer2/nullvideo.c | |
parent | 8fb605fdfbbcbc654f567efcb59f02ec0d26228a (diff) | |
download | opie-0cecd08dba036f39e414e34a2b7c070008ee3884.zip opie-0cecd08dba036f39e414e34a2b7c070008ee3884.tar.gz opie-0cecd08dba036f39e414e34a2b7c070008ee3884.tar.bz2 |
Added support for fullscreen playback
Diffstat (limited to 'noncore/multimedia/opieplayer2/nullvideo.c') (more/less context) (ignore 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 | |||
@@ -65,4 +65,5 @@ struct opie_frame_s { | |||
65 | int ideal_height; | 65 | int ideal_height; |
66 | int output_width, output_height; | 66 | int output_width, output_height; |
67 | int gui_width, gui_height; | ||
67 | uint8_t *chunk[3]; | 68 | uint8_t *chunk[3]; |
68 | 69 | ||
@@ -294,5 +295,6 @@ static void null_update_frame_format( vo_driver_t* self, vo_frame_t* img, | |||
294 | || (format != frame->format) | 295 | || (format != frame->format) |
295 | || (this->user_ratio != frame->user_ratio) | 296 | || (this->user_ratio != frame->user_ratio) |
296 | || this->gui_changed ) { | 297 | || (this->gui_width != frame-> gui_width ) |
298 | || (this-> gui_height != frame-> gui_height)) { | ||
297 | 299 | ||
298 | frame->width = width; | 300 | frame->width = width; |
@@ -304,5 +306,6 @@ static void null_update_frame_format( vo_driver_t* self, vo_frame_t* img, | |||
304 | this->gui_changed = 0; | 306 | this->gui_changed = 0; |
305 | //frame->show_video = this->m_show_video; | 307 | //frame->show_video = this->m_show_video; |
306 | 308 | frame->gui_width = this->gui_width; | |
309 | frame->gui_height = this->gui_height; | ||
307 | 310 | ||
308 | null_compute_ideal_size (this, frame); | 311 | null_compute_ideal_size (this, frame); |
@@ -537,6 +540,6 @@ vo_driver_t* init_video_out_plugin( config_values_t* conf, | |||
537 | vo->user_ratio = ASPECT_AUTO; | 540 | vo->user_ratio = ASPECT_AUTO; |
538 | vo->display_ratio = 1.0; | 541 | vo->display_ratio = 1.0; |
539 | vo->gui_width = 200; | 542 | vo->gui_width = 16; |
540 | vo->gui_height = 150; | 543 | vo->gui_height = 8; |
541 | vo->frameDis = NULL; | 544 | vo->frameDis = NULL; |
542 | 545 | ||