Commit Graph

2301 Commits

Author SHA1 Message Date
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
reimar 900ca33bbe vo_init is x11 specific and has no place in video_out.h.
It is already in x11_common.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23625 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:06:10 +00:00
reimar aca679e304 Remove redundant vo_format_name, included img_format.h already provides it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23624 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-24 10:03:26 +00:00
reimar 265c1a174e Hack around some fullscreen issues with gl under Windows
(non-fullscreen window would not always return to original size).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23607 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-22 22:06:58 +00:00
voroshil 2f76cfc28a Revert r23530.
r23530 breaks policy: notification was not sent to mailing list,
agreements of other devs were not received.
Code also should be reviewed/cleaned up/fixed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23593 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-21 08:18:51 +00:00
zuxy be09bd1c04 The audio balance feature implemented with af_pan.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23588 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-20 02:26:20 +00:00
lu_zero 9c5ce32cad avoid utter breakage on non-x86, patch from Chris Roccati <roccati@at@pobox.dot.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23543 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-10 21:58:30 +00:00
voroshil 83a2c50ef9 Teletext support for tv:// (v4l and v4l2 only)
modified patch from Otvos Attila oattila at chello dot hu

Module uses zvbi library for all low-level  VBI operations (like I/O with vbi
device, converting vbi pages into usefull vbi_page stuctures, rendering them
into RGB32 images).

All teletext related stuff (except properties, slave commands and rendering
osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented
in tvi_vbi.c

New properties:
teletext_page - switching between pages
teletext_mode - switch between on/off/opaque/transparent modes
teletext_format - (currently read-only) allows to get format info
(black/white,gray,text)
teletext_half_page - trivial zooming (displaying top/bottom half of teletext
page)

New slave commands:
teletext_add_dec - user interface for jumping to any page by editing page number
interactively
teletext_go_link - goes though links, specified on current page



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23530 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-10 00:06:12 +00:00
henry 0f85b371fd set the window aspect hint
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23525 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-09 09:25:41 +00:00
reimar 5d02058b47 Do not use fast_memcpy for small size copy, esp. when the size is constant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 15:09:49 +00:00
reimar 6a09e8e2ed Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 14:27:54 +00:00
diego 83ebbc9fcd Add LGPL license header.
OKed by Arpi and Michael, the authors of all non-trivial parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23403 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 17:13:52 +00:00
diego 5edd9af248 Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-28 08:42:35 +00:00
michael 5b46b234d2 HAVE_MMX1 -> HAVE_ONLY_MMX1 (makes more sense ...)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23396 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 21:45:33 +00:00
reimar bbf95a3dcf Remove more pointless fastmemcpy.h includes in libvo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23394 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 21:13:10 +00:00
rik 76f47eebd9 compilation fix: ff_ _encode added and temporarily disabled mjpeg_write_tables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23387 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-27 08:44:27 +00:00
ben 194fc1b15b add new -subfont option, that allows having a different font for OSD (controls and menu) and subtitles
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23356 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-20 16:10:45 +00:00
reimar b05e6e17ef Simplify -flip handling on vo_x11.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23302 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 09:06:07 +00:00
reimar fba11c94ff Fix crash with -flip on 64 bit systems, the result of
stride*height _must_ be sign extended.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23301 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 09:03:50 +00:00
reimar c445b76647 Factor common code out of if in x11_common.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23300 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-12 08:54:44 +00:00
cehoyos a2dda036d8 Make -monitorpixelaspect 1 the default.
Patch by Onur Küçük <onur.--.-.delipenguen.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23154 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 23:16:45 +00:00
reimar e9d5b5de07 Do not set VFCAP_EOSD_UNSCALED if we use scaled-osd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23153 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 16:10:45 +00:00
eugeni c67220c86f Add -ass-hinting option for setting font hinting method.
It is possible to separately configure hinting for scaled and unscaled osd.
The default is native hinter for unscaled osd (only vo_gl at this point),
no hinting for vf_ass.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-27 14:25:36 +00:00