Uoti Urpala
4785c2617e
Merge svn changes up to r30967
2010-04-26 17:42:20 +03:00
diego
3e7a2bd8c3
Refactor OS X foreground process setting into a separate function.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30964 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-03-26 15:02:14 +00:00
Uoti Urpala
efcc9ad712
Merge svn changes up to r30055
2009-12-18 18:54:42 +02:00
adrian
2a33cd01f6
Add support for -geometry to corevideo.
...
Based on a patch by Tim Wojtulewicz (timwoj at ieee dot org).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30043 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-15 20:38:54 +00:00
adrian
5f0b5dcaa9
Add -xineramascreen support to corevideo vo. Still prefer corevideo's own device_id parameter if it's set.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30042 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-15 20:25:50 +00:00
Uoti Urpala
7fd3eb0f74
Merge svn changes up to r29752
...
As part of merging subtitle-in-terminal changes make
update_subtitles() only clear existing subtitles if called with the
reset argument, and not try to set new ones. Later calls should set
the needed new subtitles, and this change avoids some problems with
trying to set subtitles when mp_property_sub() in command.c gets
called from initialization code before full initialization.
2009-10-06 04:48:00 +03:00
adrian
7bc4102a08
Fix vo_corevideo with shared buffer after r29606: Only do GUI dependent display config if shared buffer is not enabled.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29699 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-20 19:07:57 +00:00
Uoti Urpala
e1ecc43152
Merge svn changes up to r29684
2009-09-16 22:28:12 +03:00
reimar
76d4cd713f
Factor out duplicated code to set play video scaled by a certain factor.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29646 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-04 18:43:28 +00:00
reimar
5f76d2416b
Subopt parser subopts should now be const.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29645 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-04 18:21:28 +00:00
Uoti Urpala
0e1b7765be
Merge svn changes up to r29644
2009-09-04 19:49:35 +03:00
reimar
1b3c42472d
Make glContext a local variable, it is not needed outside the function
...
where it is allocated, reference counting takes care of freeing it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29617 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-01 21:16:58 +00:00
reimar
9ad17fad92
Add a dealloc function to corevideo to reduce the memleaks from
...
(for my sample) about 12 MB to 2 MB.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29616 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-01 21:12:33 +00:00
reimar
cb9e32c88c
Fix some of the major memleaks of vo_corevideo with -fixed-vo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29615 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-01 20:09:01 +00:00
reimar
7b7302b096
Make shm_fd a local variable and close it when we need it no longer, thus
...
fixing a file descriptor leak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29609 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-01 12:12:45 +00:00
reimar
0f7fe32725
Reduce vo_corevideo memleaks by initializing static context etc. only once
...
in preinit and freeing the video-specific data before reallocating in config.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29608 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-01 10:48:47 +00:00
reimar
d7676e783e
Use MPlayer's standard aspect handling functions in corevideo
...
instead of reimplementing them incompletely.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29606 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-01 09:36:04 +00:00
reimar
fde99e3c5d
Reuse the osx_common convert_key function to convert OSX keycodes to MPlayer
...
keycodes instead of its own switch-case in vo_corevideo.m
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29575 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-28 13:29:07 +00:00
Uoti Urpala
a2037a2eff
Merge svn changes up to r29412
2009-07-07 02:56:01 +03:00
Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
adrian
af16d3f120
When used with shared_buffer, there's no need for a NSApp object, which causes MPlayer to be marked as unresponsive.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29314 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-18 21:19:11 +00:00
adrian
faa665d3e7
When used with shared_buffer, autorelease in each flip_page so objects don't accumulate until exit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29313 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-18 21:00:35 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
Uoti Urpala
1db1773ec2
Merge svn changes up to r29277
2009-05-08 23:50:26 +03:00
diego
27bc918ffe
Rename macosx video output driver to corevideo.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29252 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-04 16:55:05 +00:00