summaryrefslogtreecommitdiff
path: root/noncore
authorsimon <simon>2002-12-11 12:56:46 (UTC)
committer simon <simon>2002-12-11 12:56:46 (UTC)
commitaa9623e53bd86c2645103ebacc81262f372b73d7 (patch) (unidiff)
treed24f0b4b3a5e5fe2f13bb011fbeff0cd53f1955a /noncore
parent9b8e5d7c225ac2dd399e392d57e3d19348412e1a (diff)
downloadopie-aa9623e53bd86c2645103ebacc81262f372b73d7.zip
opie-aa9623e53bd86c2645103ebacc81262f372b73d7.tar.gz
opie-aa9623e53bd86c2645103ebacc81262f372b73d7.tar.bz2
- oops, do the right cast in the gamma set method
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/nullvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/nullvideo.c b/noncore/multimedia/opieplayer2/nullvideo.c
index 1ebb854..c988854 100644
--- a/noncore/multimedia/opieplayer2/nullvideo.c
+++ b/noncore/multimedia/opieplayer2/nullvideo.c
@@ -526,25 +526,25 @@ void null_set_show_video( xine_vo_driver_t* self, int show ) {
526int null_is_fullscreen( xine_vo_driver_t* self ){ 526int null_is_fullscreen( xine_vo_driver_t* self ){
527 return ((null_driver_t*)self->driver)->m_video_fullscreen; 527 return ((null_driver_t*)self->driver)->m_video_fullscreen;
528} 528}
529void null_set_fullscreen( xine_vo_driver_t* self, int screen ){ 529void null_set_fullscreen( xine_vo_driver_t* self, int screen ){
530 ((null_driver_t*)self->driver)->m_video_fullscreen = screen; 530 ((null_driver_t*)self->driver)->m_video_fullscreen = screen;
531} 531}
532int null_is_scaling( xine_vo_driver_t* self ){ 532int null_is_scaling( xine_vo_driver_t* self ){
533 return ((null_driver_t*)self->driver)->m_is_scaling; 533 return ((null_driver_t*)self->driver)->m_is_scaling;
534} 534}
535 535
536void null_set_videoGamma( xine_vo_driver_t* self , int value ) { 536void null_set_videoGamma( xine_vo_driver_t* self , int value ) {
537 ((null_driver_t*) self->driver) ->yuv2rgb_gamma = value; 537 ((null_driver_t*) self->driver) ->yuv2rgb_gamma = value;
538 ((null_driver_t*) self->driver) ->yuv2rgb_factory->set_gamma( ((null_driver_t*) self) ->yuv2rgb_factory, value ); 538 ((null_driver_t*) self->driver) ->yuv2rgb_factory->set_gamma( ((null_driver_t*) self->driver) ->yuv2rgb_factory, value );
539} 539}
540 540
541void null_set_scaling( xine_vo_driver_t* self, int scale ) { 541void null_set_scaling( xine_vo_driver_t* self, int scale ) {
542 ((null_driver_t*)self->driver)->m_is_scaling = scale; 542 ((null_driver_t*)self->driver)->m_is_scaling = scale;
543} 543}
544 544
545void null_set_gui_width( xine_vo_driver_t* self, int width ) { 545void null_set_gui_width( xine_vo_driver_t* self, int width ) {
546 ((null_driver_t*)self->driver)->gui_width = width; 546 ((null_driver_t*)self->driver)->gui_width = width;
547} 547}
548void null_set_gui_height( xine_vo_driver_t* self, int height ) { 548void null_set_gui_height( xine_vo_driver_t* self, int height ) {
549 ((null_driver_t*)self->driver)->gui_height = height; 549 ((null_driver_t*)self->driver)->gui_height = height;
550} 550}