0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
Commit Graph

24837 Commits

Author SHA1 Message Date
nicodvb
cb805dfa54 replaced giant if() with if(pre-calculated variable) (there was even a bug: PS doesn't necessarily contain mpeg12)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24864 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:39:53 +00:00
zuxy
a916b0cf0e Cosmetic fix for r24861
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24863 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:37:26 +00:00
nicodvb
8ff6e8a567 cosmetics: removed tabs/empty lines/trailing spaces and done a partial reformatting where desperately needed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24862 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:33:56 +00:00
zuxy
e88e5849d3 Avoid crash after recovering from screensaver
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24861 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:24:08 +00:00
nicodvb
c9d49b63b1 cosmetics: moved to function find_video_codec() and reused in video_read_*() the code that identifies the various mpeg* formats
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24860 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 11:55:16 +00:00
reimar
2d84ff3489 Remove assert. Not only are they no help at all and proper checks should
be added if desired, also assert.h is not included so compilation may fail.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24859 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 06:47:35 +00:00
voroshil
a8c696d961 Basic support for Closed Captioning Roll-up mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24858 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 04:46:01 +00:00
ulion
354538912c Reset two static variables for nosub range when subdata changed/switched.
This fix some subtitle disappear bug when switch between subtitle streams.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24857 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 00:37:46 +00:00
eugeni
85b15648f9 Cosmetics: fix indentation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24856 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 21:20:28 +00:00
eugeni
c0eaa90799 Check return value of add_face.
This fixes segfault when reselecting fonts and the new font could not be
loaded (because of a bad font file, or too many font faces already loaded).
Patch by Glen Nakamura, glen at imodulo dot com.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24855 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 21:19:20 +00:00
uau
1f5bb6386e demuxer.c: Remove useless code
Remove "while(1) { }" around two instances of code that always do
"return" in the loop body. No functionality changes.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24854 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 19:21:24 +00:00
compn
a894a32080 fixed osd on mac
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24853 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 17:38:54 +00:00
voroshil
fcba195142 r24740: misc roff fixes
r24746: document filter -vf ow: Overcomplete Wavelet denoiser.
r24772: DirectShow based tv:// driver for win32
r24783: Consistently set NOTE: in italics.
r24784: small grammar fix
r24785: Add -lavfdopts cryptokey
r24807: Docs update: -ao openal handles more than one channels since some time already
r24808: Add a space behind openal to get minimum length of 7
r24809: Replace Polyp- by PulseAudio output.
r24820: Clarify that -vo gl bicubic filtering is B-spline, not polynomial
r24837: Spelling, vf_ow parameters are optional.
r24841: type fix: there was a 'not' too much


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24852 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 17:37:49 +00:00
voroshil
e9429fed69 r24745: libavcodec now supports dnxhd encoding.
r24751: Fix Zip Motion Blocks Video codec name.
r24795: better vfw encoding workaround for vp7 fourcc


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24851 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 16:32:33 +00:00
voroshil
0991732f1c r24772: DirectShow based tv:// driver for win32
r24790: Disable channel scanner when no tuner is present.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24850 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 16:28:14 +00:00
voroshil
31d2ed32a6 Don't wait for filling entire audio ringbuffer at each call to grab_audio_frame.
Fixes 2 minutes delay before starting playback and audio clicks in sound
(at least for my SAA7134 based card while capturing radio through saa7134-alsa
module).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24849 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 15:04:33 +00:00
voroshil
f7e755eb55 Add missing call to audio_in_start_capture.
Fixes capturing sound from ALSA devices
(repeated xrun errors, buffer underruns and son on).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24848 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-25 14:57:17 +00:00
ivo
def691696e add missing include (errno.h). fix compilation on openbsd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24847 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-24 12:07:29 +00:00
Gabrov
8351fa3629 synced with r24841
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24846 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-24 09:22:28 +00:00
zuxy
36df407647 Get rid of void pointer arithmetic.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24845 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-23 08:28:11 +00:00
ulion
9e5f80ded3 Fix input command parser for using only tab to separate the arguments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24844 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-23 00:44:22 +00:00
ulion
bddc41ec40 Fix GetTimerMS() discontinuous return value bug caused by GetTimer() overflow
on darwin. This bug will cause osd stuck on darwin.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24843 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-23 00:06:08 +00:00
diego
3cb11cbe20 A missing break statement caused SDLK_PLUS to be triggered twice on one press.
patch by Michael Mauch, michael.mauch gmx de
Subject: [MPlayer-dev-eng] [PATCH] Add two breaks in the key handling of vo_sdl
Date: Tue, 23 Oct 2007 00:04:20 +0200


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24842 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 22:42:47 +00:00
ptt
fc79b481ec type fix: there was a 'not' too much
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24841 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 18:44:05 +00:00
ptt
8675711d07 synced with r24837
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24840 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 18:42:53 +00:00
ptt
37becae907 synced with r24820
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24839 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 18:04:09 +00:00
ptt
1900dd89f9 sunc with r24790
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24838 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 17:05:11 +00:00
diego
58550772e4 Spelling, vf_ow parameters are optional.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24837 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 16:40:51 +00:00
diego
6f88dd80a7 fix warning:
vf_ow.c: In function 'filter':
vf_ow.c:168: warning: unused variable 'sum'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24836 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 16:37:51 +00:00
ptt
10122cd69a grammar fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24835 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 13:30:36 +00:00
compn
95a91a8e16 support for wavpack in matroska
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24834 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-22 13:04:38 +00:00
aurel
5340c0c03c add support for wavpack into matroska
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24833 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 22:57:42 +00:00
diego
27d76cfaab Fix warning:
In file included from mplayer.c:794:
cfg-mplayer.h:64: warning: redundant redeclaration of 'enqueue'
mplayer.c:230: warning: previous definition of 'enqueue' was here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24832 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 22:31:22 +00:00
compn
e08173e7e1 vp6vfw can decode vp6f too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24831 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 18:29:38 +00:00
reimar
0f50b44313 Replace hardcoded 0 by equivalent O_RDONLY
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24830 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 13:45:04 +00:00
reimar
bcc10e0961 Check ICDecompressGetFormatSize to avoid crashes.
Based on patch by Gianluigi Tiesi (mplayer netfarm it).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24829 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 13:15:48 +00:00
diego
bd543ced4c Remove some unused code, fixes the following warnings:
vosub_vidix.c: At top level:
vosub_vidix.c:199: warning: 'vidix_draw_slice_410_fast' defined but not used
vosub_vidix.c:211: warning: 'vidix_draw_slice_400' defined but not used
vosub_vidix.c:365: warning: 'vidix_get_video_eq' defined but not used
vosub_vidix.c:371: warning: 'vidix_set_video_eq' defined but not used
vosub_vidix.c:377: warning: 'vidix_get_num_fx' defined but not used
vosub_vidix.c:383: warning: 'vidix_get_oem_fx' defined but not used
vosub_vidix.c:389: warning: 'vidix_set_oem_fx' defined but not used
vosub_vidix.c:395: warning: 'vidix_set_deint' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24828 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 12:56:22 +00:00
diego
db06490509 Remove unused code and fix warning:
demux_real.c:147: warning: 'skip_str' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24827 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 12:38:18 +00:00
reimar
9bdc074496 ao_openal is mine as well (however someone else developing it further would be welcome)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24826 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 12:18:11 +00:00
reimar
e70f3d331f I'll be maintaining ao_pulse for now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24825 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 12:15:25 +00:00
diego
d653bc6138 _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
Add a header file with the function prototype to address this issue.
This has the positive side effect of fixing a couple of implicit
declaration warnings.
The problem was originally reported as Debian bug 447278.
patch by Dann Frazier and Andrea Mennucci, mennucc1 debian org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24824 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 22:41:24 +00:00
diego
97c8a09406 Remove unnecessary lines from patch headers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24823 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 22:28:14 +00:00
diego
5bb44cb440 Certain VIDIX drivers only work on x86, disable for other arches.
This patch was coproduced by Reimar, Andrea Menucci and myself.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24822 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 22:19:38 +00:00
uau
5eb46caada Disable libavcodec libvorbis encoder
MPlayer's configure does not test and set variables required by the
encoder properly (never links with -lvorbisenc for example). Disable
it completely to fix broken compilation in cases where it was enabled.

Support for the libvorbis encoder could be a desirable feature as it
can produce better quality audio than libavcodec's own encoder, but
implementing that properly would require more work.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24821 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 16:03:12 +00:00
reimar
d218fe6dec Clarify that -vo gl bicubic filtering is B-spline, not polynomial
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24820 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 15:35:48 +00:00
reimar
f0fe4e4c9b Set CONFIG_LIBVORBIS correctly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24819 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 14:52:12 +00:00
reimar
bb0786d6da Add ASF/MXF decryption support to Changelog
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24818 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 14:27:19 +00:00
voroshil
803d454576 Simplify handling SET_NORM for V4l1: replace several if-else-if and switch
statements with one lookup table;



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24817 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 11:46:15 +00:00
voroshil
6114954b08 czech/slovak character set fixes:
plain latin characters instead of native were wrongly used in several places
of charset table.

patch from Oldrich Jedlicka oldium dot pro at seznam dot cz




git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24816 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-20 05:02:44 +00:00
eugeni
92efd606d1 Avoid text deformation and subtitles moving outside the screen in pan-and-scan
mode.

For this, crop amounts are passed from vo_gl as negative margins sizes. They
are used to calculate aspect ratio. They are ignored when calculating subtitle
 positions, so subtitles will stay on screen most of the time.
Based on a patch by Jindrich Makovicka [makovick gmail com].


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24815 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-19 18:16:23 +00:00