Commit Graph

2323 Commits

Author SHA1 Message Date
uau 37babdb3a1 Watch X11 fd in main input select() if using vo xv
Add the X11 fd to main input select() set, and call VO check_events() if
it becomes readable. Only done in vo xv code for now, though would make
sense for other X11-based VOs too.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24153 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 04:28:17 +00:00
diego 437895cc46 Remove fallback round implementation that is protected by a preprocessor
directive that configure never sets or checks for.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24134 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 09:23:06 +00:00
diego cb9b67ff7f 100l typo: ENTER --> KPENTER
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24127 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 17:45:54 +00:00
diego 1c5252045e Fix KPENTER keycode value on Mac OS X.
patch by Ulion, ulion2002 gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24126 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-23 17:16:48 +00:00
nplourde e627303d70 added double click support in vo_macosx. Patch by Ulion <ulion2002@gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24097 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-18 22:46:29 +00:00
reimar 4166de18ec Functions that do not return a value must be void
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24096 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-18 10:30:15 +00:00
reimar 1f6ab04e67 Text files must end with a newline
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24095 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-18 10:29:31 +00:00
reimar 5f377edbfb Remove duplicate extern declaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24094 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-18 10:23:40 +00:00
diego 5d9b793edd Identifiers should not start with two underscores.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24066 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-15 10:34:53 +00:00
diego 2718730d2c Remove unused variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24065 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-15 09:34:53 +00:00
cehoyos 104ce10b99 Fix likely mistake when using char*.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24052 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-13 08:32:47 +00:00
diego b39cfa205f Declare all vo_gamma variables in libvo/video_out.h and remove them from
mp_core.h to avoid some redundant redeclaration warnings.
patch by Gábor Mizda, gabrov freemail hu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24047 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-12 12:21:07 +00:00
cehoyos a8c7780402 Remove useless #include and silence warnings when compiling find_sub.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24032 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-08 10:40:17 +00:00
reimar e58803edde Handle case where get_image is called twice without a draw_image in-between
(-vc ffmpeg12 seems to do this sometimes).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24007 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-03 18:29:54 +00:00
reimar 3c86a69952 Forgot to add the main vo_xvr100.c file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24005 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-03 17:14:38 +00:00
reimar 2824218de5 add XVR-100 vo, patch by Balatoni Denes (dbalatoni interware hu)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24004 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-03 17:14:35 +00:00
ben b61b018062 v4l2 audio/video outputs for linux 2.6.22+ kernels (outputs formerly known as ivtv)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23925 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 19:20:55 +00:00
voroshil da32be7802 Teletext support
Part 4/5: teletext page rendering



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23923 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-29 17:57:39 +00:00
reimar acad91a5d2 Set -vo gl slice-height default to 0, the current default of 4 seems
to never be much faster, but there were multiple reports where it
was a lot slower (mostly those where gl2 was faster).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23898 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 22:54:08 +00:00
reimar e94b93b2c4 Use a new variable for user-supplied monitor-aspect so we can overwrite
a value generated from pixel-aspect if resolution changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23896 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 22:42:20 +00:00
reimar 10f6c95996 make sure update_xinerama_info is always called even when using the
window-manager fullscreen hint, so that vo_screenwidth/height are right.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23895 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 22:21:29 +00:00
diego 22fc24fe56 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-28 14:28:38 +00:00
attila d1f19fc77b document "default" behaviour if CopyFromParent is passed as colormap
to vo_x11_create_vo_window()


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23843 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-22 18:31:17 +00:00
attila 13f9b12dde 10l
pass colormap instead of wrong "InputOutput" to vo_x11_create_vo_window()
fixes xmga brokenness from r23675


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23842 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-22 18:27:26 +00:00
diego 8b51dfe0e2 Remove vo_syncfb, which was unused for 5 years.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23834 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-20 18:17:58 +00:00
diego cd1f6674cd Put a compilation fix bandaid in place for the png.h issue.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23802 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-17 10:56:16 +00:00
diego 2ea4746dce Remove incomplete compilation fix bandaid.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23792 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-16 20:12:43 +00:00
diego 4ab613d1a3 bandaid compilation fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23789 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-16 11:34:18 +00:00
zuxy 99cc5ec179 Use -font for subtitles when -subfont is not given, patch by kiriuja
<mplayer-patches AT en-directo DOT net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23762 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-11 10:01:54 +00:00
reimar 4c4a1070fe Avoid code duplication and ugly config.h hack by using av_strlcat/av_strlcpy
instead of plain strlcat/strlcpy


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23723 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-05 22:01:07 +00:00
diego 3e9e4acd8d Do not use leading underscores in multiple inclusion guards, they are reserved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 22:34:45 +00:00
diego e2928ff729 Consistently use filenames as multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23706 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-02 21:23:42 +00:00
nplourde 88166aa171 bugfix intel mac vo_quartz, PlanarPixmapInfoYUV420 structure requires big-endian value. author Taihei Monma tmkk@mac.com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23696 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-29 21:57:31 +00:00
reimar ad164e04ee Get rid of my_memcpy_pic code duplication in many filters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23686 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-28 11:24:12 +00:00
reimar a237b8b6f3 Fix vo_x11_clearwindow_part: x position is one less to avoid not clearing
a line in case of rounding error, so width must be one larger, too.
y-case is already correct.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23680 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 13:09:39 +00:00
reimar e1057f5898 Remove some unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23676 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 10:28:38 +00:00
reimar f131aafff1 Make X11 window creation and (with -fixed-vo) management simpler and more
consistent by introducing a new function that handles most of the
ugly things. Changes of behaviour with some vos is unavoidable, bug reports
welcome.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23675 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 10:26:13 +00:00
reimar 85f88efe84 Lots of cosmetics for gl2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23671 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 16:33:43 +00:00
reimar 15d418e19b Remove two unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23670 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:51:51 +00:00
reimar d3bc927fc4 Remove overly complex and unused per-subtexture "dirty" handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23669 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:51:49 +00:00
reimar 92542f710b Remove now unused variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23668 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:51:47 +00:00
reimar db9f690747 remove useless calloc cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23667 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:51:43 +00:00
reimar 467d176cd1 Remove some unused code and useless error checking that only clutters the code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23665 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-26 15:01:09 +00:00
reimar 19a1049830 Remove unused function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23654 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 14:11:38 +00:00
reimar 576500d6a6 Avoid vo_sdl void * arithmetic
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23639 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 11:07:47 +00:00
reimar 51ffb15405 Remove completely pointless "!= 1".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23638 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 11:04:02 +00:00
reimar e9506908bc Another unneeded xinerama_screen extern
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23637 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:59:53 +00:00
reimar 81863a5dd4 xinerama_screen is already declared in video_out.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23636 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:51:06 +00:00
reimar 12c23915c9 Add missing return value for x11 error handler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23635 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:46:40 +00:00
reimar 6b87db889c suboverlap_enabled is already declared in included subreader.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23626 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:06:57 +00:00