1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 04:45:33 +00:00
Commit Graph

24855 Commits

Author SHA1 Message Date
rtogni
ec70a0fbbd Change the frame format passed to lavc realvideo decoders to adapt for
the changes in r10825.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24882 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-28 22:32:20 +00:00
gpoirier
d08a99c12a sync w/r24875
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24881 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-28 21:29:00 +00:00
iive
b69670151c Cleanup guess_buffer_cp() a bit, remove tmp variable, break the loop on success.
Requested by ulion.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24880 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-28 15:53:08 +00:00
iive
b43c16f8b6 Our enca code uses strdup() on the input encoding name, as we don't modify it we can use the original constant string.
Uses less memory, code is simpler and faster.
Fixes memory leak (noticed by ulion).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24879 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-28 14:26:05 +00:00
nicodvb
41951932f9 removed silly #if 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24878 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 20:14:22 +00:00
nicodvb
eb0627a45c DEMUXER_TYPE_TV is always defined, thus removed corresponding #ifdef USE_TV.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24877 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 20:12:26 +00:00
nicodvb
7f3e4e1258 reindented previously modified code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24876 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 20:04:16 +00:00
nicodvb
3f21cd07a2 program switching in demux_lavf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24875 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 19:19:01 +00:00
nicodvb
a70a68b9e6 program switching in demux_lavf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24874 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 19:17:44 +00:00
nicodvb
af64793313 implemented DEMUXER_CTRL_IDENTIFY_PROGRAM to permit program switching
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24873 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 19:15:43 +00:00
nicodvb
fd0f023657 permit identification and selection of programs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24872 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 19:12:59 +00:00
nicodvb
d936414dc1 permit the transititions no stream <-> some streams and viceversa (needed for forthcoming program switching patch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24871 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 19:04:37 +00:00
nicodvb
15ad71420f moved to a new function handle_stream() the code to parse the streams and assign the demuxer_streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24870 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 19:00:07 +00:00
zuxy
242c5fc73c Make functions static if they aren't referenced externally.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24869 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 17:46:09 +00:00
zuxy
c6f82fa13f Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24868 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 13:00:58 +00:00
nicodvb
018d2ae172 in process_userdata() move debugging messages from stdout to stderr
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24867 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:50:21 +00:00
nicodvb
8d83daa1cf removed funny calls to fflush(stdout) after mp_msg()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24866 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:45:31 +00:00
nicodvb
6fc30e89a5 removed more empty spaces and empty lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24865 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 12:42:00 +00:00
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