From: Darren S. <li...@yo...> - 2007-03-16 16:22:16
|
# HG changeset patch # User Darren Salt <li...@yo...> # Date 1174061504 0 # Node ID ac23dbbef2e912b02af5d7f881f3bbca584efbc4 # Parent 8c39d51c81e06aa07a61aa6017c4c95855b7bbbc Add a slider & a JS object for SPU sync. diff -r ac23dbbef2e912b02af5d7f881f3bbca584efbc4 -r 8c39d51c81e06aa07a61aa6017c4c95855b7bbbc ChangeLog --- a/ChangeLog Fri Mar 16 16:11:44 2007 +0000 +++ b/ChangeLog Fri Mar 16 15:51:03 2007 +0000 @@ -23,6 +23,7 @@ 0.5.900:2007/??/?? Existing configurations are unaffected. * Allow slider widgets to be presented as buttons with pop-up windows. The volume slider in the default windowed-mode toolbar is a pop-up. + * Added SPU sync to the A/V window. * Obsoleted and disabled most of the deprecated JS functions, except for set_fullscreen() and toolbar_show() which remain deprecated. If you need the others, build with --enable-obsolete. @@ -33,6 +34,7 @@ 0.5.900:2007/??/?? * Added a config item to control whether, when in full-screen mode, the video window is forcibly stuck to all desktops & viewports. This is currently only checked at startup. + * Added SPU sync to the A/V window. * Reworked the JS property code somewhat. No user-visible changes. * Only display the "broken xine-lib" message (for when there is no demuxer for the logo image) at most once. diff -r ac23dbbef2e912b02af5d7f881f3bbca584efbc4 -r 8c39d51c81e06aa07a61aa6017c4c95855b7bbbc src/settings.c --- a/src/settings.c Fri Mar 16 16:11:44 2007 +0000 +++ b/src/settings.c Fri Mar 16 15:51:03 2007 +0000 @@ -51,6 +51,7 @@ struct slider_tab_s { static const struct slider_s settings_video[] = { { N_("A/V sync"), "gxine-settings-av-sync", Control_AV_SYNC }, + { N_("SPU sync"), "gxine-settings-spu-sync", Control_SPU_SYNC }, { N_("Hue"), "gxine-settings-hue", Control_HUE }, { N_("Saturation"), "gxine-settings-saturation", Control_SATURATION }, { N_("Contrast"), "gxine-settings-contrast", Control_CONTRAST }, diff -r ac23dbbef2e912b02af5d7f881f3bbca584efbc4 -r 8c39d51c81e06aa07a61aa6017c4c95855b7bbbc src/ui.c --- a/src/ui.c Fri Mar 16 16:11:44 2007 +0000 +++ b/src/ui.c Fri Mar 16 15:51:03 2007 +0000 @@ -169,6 +169,7 @@ static const ui_adjustable_t ranges[] = [Control_COMPRESSOR] = { 100, 100, 1000, 10, 100, 0, "gui.ao_compressor", "ao_compressor", XINE_PARAM_AUDIO_COMPR_LEVEL }, [Control_AMPLIFIER] = { 100, 0, 200, 1, 10, 0, "gui.ao_amplifier", "ao_amplifier", XINE_PARAM_AUDIO_AMP_LEVEL }, [Control_AV_SYNC] = { 0, -180000, 180000, 1000, 10000, 0, "gui.av_sync", "av_sync", XINE_PARAM_AV_OFFSET }, + [Control_SPU_SYNC] = { 0, -180000, 180000, 1000, 10000, 0, "gui.spu_sync", "spu_sync", XINE_PARAM_SPU_OFFSET }, [Control_HUE] = { 32768, 0, 65535, 100, 1000, 0, "gui.vo_hue", "vo_hue", XINE_PARAM_VO_HUE }, [Control_SATURATION] = { 32768, 0, 65535, 100, 1000, 0, "gui.vo_saturation", "vo_saturation", XINE_PARAM_VO_SATURATION }, [Control_CONTRAST] = { 32768, 0, 65535, 100, 1000, 0, "gui.vo_contrast", "vo_contrast", XINE_PARAM_VO_CONTRAST }, diff -r ac23dbbef2e912b02af5d7f881f3bbca584efbc4 -r 8c39d51c81e06aa07a61aa6017c4c95855b7bbbc src/ui.h --- a/src/ui.h Fri Mar 16 16:11:44 2007 +0000 +++ b/src/ui.h Fri Mar 16 15:51:03 2007 +0000 @@ -74,6 +74,7 @@ typedef enum { Control_COMPRESSOR, Control_AMPLIFIER, Control_AV_SYNC, + Control_SPU_SYNC, Control_HUE, Control_SATURATION, Control_CONTRAST, diff -r ac23dbbef2e912b02af5d7f881f3bbca584efbc4 -r 8c39d51c81e06aa07a61aa6017c4c95855b7bbbc src/xml_widgets.c --- a/src/xml_widgets.c Fri Mar 16 16:11:44 2007 +0000 +++ b/src/xml_widgets.c Fri Mar 16 15:51:03 2007 +0000 @@ -716,6 +716,7 @@ create_stock_gxine (xml_node_t *node) { SLIDER, Control_COMPRESSOR, TN_("Compressor"), "" }, { SLIDER, Control_AMPLIFIER, TN_("Amplifier"), "" }, { SLIDER, Control_AV_SYNC, TN_("A/V sync"), "" }, + { SLIDER, Control_SPU_SYNC, TN_("SPU sync"), "" }, { SLIDER, Control_HUE, TN_("Hue"), "" }, { SLIDER, Control_SATURATION, TN_("Saturation"), "" }, { SLIDER, Control_CONTRAST, TN_("Contrast"), "" }, |