diff options
Diffstat (limited to 'src/app/xineEngine.cpp')
-rw-r--r-- | src/app/xineEngine.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/app/xineEngine.cpp b/src/app/xineEngine.cpp index e38ff4e..708ab13 100644 --- a/src/app/xineEngine.cpp +++ b/src/app/xineEngine.cpp @@ -579,13 +579,13 @@ VideoWindow::setStreamParameter( int value ) parameter = XINE_PARAM_VO_CONTRAST; else if( sender == "brightness" ) parameter = XINE_PARAM_VO_BRIGHTNESS; - else if( sender == "subtitle_channels_menu" ) + else if( sender == "subtitle_channels_select" ) parameter = XINE_PARAM_SPU_CHANNEL, value -= 2; - else if( sender == "audio_channels_menu" ) + else if( sender == "audio_channels_select" ) parameter = XINE_PARAM_AUDIO_CHANNEL_LOGICAL, value -= 2; - else if( sender == "aspect_ratio_menu" ) + else if( sender == "aspect_ratio_select" ) parameter = XINE_PARAM_VO_ASPECT_RATIO; else if( sender == "volume" ) { @@ -709,19 +709,19 @@ VideoWindow::customEvent( TQCustomEvent *e ) char s[128]; //apparently sufficient { - TQStringList languages( "subtitle_channels_menu" ); + TQStringList languages; int channels = xine_get_stream_info( m_stream, XINE_STREAM_INFO_MAX_SPU_CHANNEL ); for( int j = 0; j < channels; j++ ) languages += xine_get_spu_lang( m_stream, j, s ) ? s : i18n("Channel %1").arg( j+1 ); - emit channelsChanged( languages ); + emit subtitleChannelsChanged(languages); } { - TQStringList languages( "audio_channels_menu" ); + TQStringList languages; int channels = xine_get_stream_info( m_stream, XINE_STREAM_INFO_MAX_AUDIO_CHANNEL ); for( int j = 0; j < channels; j++ ) languages += xine_get_audio_lang( m_stream, j, s ) ? s : i18n("Channel %1").arg( j+1 ); - emit channelsChanged( languages ); + emit audioChannelsChanged(languages); } break; } |