1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00
Commit Graph

371 Commits

Author SHA1 Message Date
reynaldo
15e8c12de2 marks several strings inside structs as const when they hold just
read-only information and modifies GetLanguage in Gui/mplayer/gtk/menu.c 
to cope which the changes.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19115 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-16 01:40:24 +00:00
reynaldo
58ed2c3fe0 marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-15 16:03:12 +00:00
diego
cb2e693d22 Mark several string parameters that are not modified in the function as const.
patch by Stefan Huehner, stefan at huehner org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19086 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-14 16:57:24 +00:00
reynaldo
241bfa8a0c drops casts from void * on malloc/calloc from the gui code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19066 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 16:17:24 +00:00
diego
e364249f21 Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 16:01:36 +00:00
diego
c3304dad1f Make most of the xpm-files read 'const char*' instead of 'char*'
to reflect the read-only status of the xpm-definitions.
patch by Stefan Huehner stefan$$at$$huehner$$dot$$org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18776 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-21 17:42:54 +00:00
diego
4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
diego
3f62423f42 Rename some misspelled and misnamed messages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18336 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-28 23:06:42 +00:00
uau
bee52bbd10 Remove updating of vo_mouse_timer_const from the main loop and also
remove the variable itself. Convert code in x11_common.c and OSD timing
that depended on the variable to use real time instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18288 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-25 21:36:02 +00:00
gpoirier
53604e0c21 simpler and better subtitles switching, patch by Stanislav Maslovski <stanislav P maslovski A gmail P com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18186 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 13:24:20 +00:00
gpoirier
6a425eee5c Adds "cheap" subtitle switching for non-DVD playouts (for ex. OGG or MKV).
Patch by Stanislav Maslovski <stanislav POIS maslovski AH gmail POIS com>
Original thread:
Date: Apr 12, 2006 1:50 PM
Subject: [MPlayer-dev-eng] [PATCH] GUI: add cheap subtitle switching for non-DVD


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18119 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-16 16:58:36 +00:00
gpoirier
c93f360e3d fix segfault in the skin browser when sbSelectedSkin gets dereferenced before setting, when no skin is selected in the skin list upon opening the browser,
and "Cancel" or "OK" buttons get clicked.
Noticed when runnig freshly compiled gmplayer on a system where the skins were still under the old location.
based on a combined patch by Stanislav Maslovski <stanislav POIS maslovski AH gmail POIS com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18067 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-09 13:52:45 +00:00
gpoirier
b2360d8174 vertical size of "Configure Equalizer" window is not enough to hold all comboboxes, based on a patch by Stanislav Maslovski <stanislav POIS maslovski AH gmail POIS com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18066 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-09 13:49:37 +00:00
gpoirier
9ef8a90a8f the title of this window was not localized => added new en and ru strings, based on a combined patch by Stanislav Maslovski <stanislav POIS maslovski AH gmail POIS com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18065 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-09 13:47:44 +00:00
diego
b5743fcfda Rename the default GUI skins directory from 'Skin' to 'skins', keeping
backwards compatibility.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17975 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 11:39:27 +00:00
reimar
1519205f24 Automaticall convert message to console charset, use utf8 for GTK2 Gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17773 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-08 12:45:48 +00:00
diego
5081060d66 Bandaid fix for compilation failure when creating main/.depend with GUI
enabled.  This is only a problem if .developer is not present.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17315 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-04 15:54:47 +00:00
rathann
e55d0e680f fix the translator names list so that it conforms to lastname, firstname
convention, sort and add missing accents


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17288 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-02 23:22:13 +00:00
ods15
2e4aba523e vpotmeter fix, scroll in the correct direction
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17255 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-27 19:21:04 +00:00
rathann
386e76a544 Avoid gcc warnings:
'...' might be used uninitialized in this function

In this case 'H', 'N', 'D', and 'F' can indeed be
used unitialized, thus possibly causing all sorts of problems.

Patch by Peter Breitenlohner


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17198 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-15 20:39:59 +00:00
gpoirier
84e6e3240c Convert this file to UTF-8 as it contains funky caracters from all around the world.
What's even better is that this gets rid of a GTK assertion error. \o/


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17158 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-10 17:31:04 +00:00
diego
c5561f6bf1 #include help_mp.h only once.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17149 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-09 12:51:13 +00:00
diego
1fd91df1ea Unify include paths, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17145 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-08 22:12:57 +00:00
gpoirier
bda8248830 Every contribution deserves to be listed on the "about" window of the gui.
Change the way this list is done by following the layout of AUTHORS


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17136 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 21:17:29 +00:00
reimar
ad18c2792b Fix popup menu problems: GTK cannot get a grab while the button is down,
so show it on button release instead of button press.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17088 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-04 15:58:52 +00:00
reimar
31469b3b69 About text should _not_ be editable, it just looks stupid.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17087 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-04 15:56:40 +00:00
reimar
715592ae83 100l, video_out.h is now needed for some vo_ variables.
This is ugly, but interface.c already does it like that, so why bother...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16285 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-21 10:19:25 +00:00
reimar
c375528575 Support for GTK 2.x.
Patch by Onur Kucuk (onur . delipenguen net).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16247 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-17 18:41:15 +00:00
reimar
fbb2fcb22c gmplayer + arts == bad!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16123 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 09:43:02 +00:00
reimar
f630d42c8a ESD configuration dialog and software volume control option for Gui
Patch by Paul Wilhelm Elsinghorst ( paul [at] uni-bonn de )


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14687 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-12 16:05:11 +00:00
diego
43f9cb0b4c Add half size entry to the GMPlayer menu.
patch by Pierre Marc Dumuid <pierre dot dumuid at adelaide dot edu dot au>
approved by Pontscho


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14590 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-25 12:44:38 +00:00
reimar
736a268b8d libao2/eq.h was removed, use libaf/equalizer.h instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14406 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 18:10:36 +00:00
diego
5141ea8aef printf --> mp_msg conversion, less verbosity
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14157 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-15 01:22:24 +00:00
al
6ed8dbf12e Restore normal/double size GUI functionality ( broken since EWMH fs support ).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14007 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-21 15:10:37 +00:00
diego
db527762f6 warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13949 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-15 10:00:58 +00:00
diego
0a70ad314c icons for the GUI context menu
patch by Piero di Vita <scognito at acaro dot org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13853 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-02 14:45:03 +00:00
reimar
4107fec833 Limit Gui redraw rate.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13673 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-18 18:26:44 +00:00
diego
5b829d877a File filter dropdown box value is now preserved between dialog invocations.
patch by Deomid Ryabkov aka Rojer <myself at rojer dot pp dot ru>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13571 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-06 15:46:54 +00:00
reimar
14ab0d65ab fix examples for ao_alsa options dialog and add example for mixer index.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13444 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-23 10:06:37 +00:00
reimar
fa0823db47 Copy-n-Paste bug breaking channel selection in audio configuration dialog
Patch by (eyager at chartermi dot net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13267 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-06 20:11:37 +00:00
rathann
450854c020 small gcc warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13182 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-28 20:20:40 +00:00
reimar
f2a5f5d727 100l, fixes DXR3 compile problems caused by my last patch.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12925 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-31 18:04:42 +00:00
reimar
e5b67089c7 unified audio options dialog, fixes also bug #40
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12919 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-30 15:58:36 +00:00
diego
70b6b14e50 better menu icons by Piero di Vita <scognito@libero.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12785 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-09 15:35:26 +00:00
diego
bed7a58e77 new error icon by piero <scognito@libero.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12724 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-28 23:41:17 +00:00
alex
d92f988596 simple, smooth, ram-saving dynamic potmeter, which feature is required by the tvisor skin, patch by Andre Kuhne
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12694 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 13:54:20 +00:00
diego
662419c0f8 Fix GUI compilation, patch by Reimar Döffinger and Alexander Strasser.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12692 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 13:26:11 +00:00
alex
731da20a8f scroll strings from the left to right, patch by Andre Kuhne
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12686 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 12:22:48 +00:00
diego
42b784ac1a string handling security fixes
patch by Nicholas Kain, Alexander Strasser <eclipse7@gmx.net>
reviewed by Pontscho, Alex, Rich


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12647 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 16:49:53 +00:00
diego
2ff27a14d4 Address removed upon request.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12592 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-15 10:52:36 +00:00