1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00
Commit Graph

28632 Commits

Author SHA1 Message Date
reimar
a212be5e60 Re-add accidentally discarded comment about YUVJ format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28666 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 12:19:55 +00:00
zuxy
757e575aeb Be more robust against corrupted RM files that contain invalid packet length
by seeking to a known good place when index table is available.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28665 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 11:42:05 +00:00
diego
fdae4e0095 Add necessary header for ARCH_X86_64 preprocessor check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28664 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 10:07:46 +00:00
diego
b92e910e7a Remove unused and unreachable code hunk that was surrounded by a misspelled
preprocessor condition.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28663 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 10:06:43 +00:00
iive
c73f0e18bd Return PIX_FMT_NONE if the video system refuses all other formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28662 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 09:21:46 +00:00
bircoph
65324517a6 Synced with r28660.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28661 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 05:09:46 +00:00
bircoph
9b9dcec15b Another outdated text in <screen> example.
Synced with currrent MSGTR_TooManyVideoInBuffer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28660 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 04:04:22 +00:00
bircoph
7697f9c7af Remove exclamation marks to make output similar to English version.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28659 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 03:54:26 +00:00
bircoph
0a80b2bd49 Fix capitalization to be similar to English master file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28658 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 03:50:24 +00:00
bircoph
f9d485488b Screen example for no audio problem is outdated:
The following MSGTR_* messages changed since then:
MSGTR_AO_OSS_CantOpenDev
MSGTR_CannotInitAO
MSGTR_NoSound
MSGTR_StartPlaying

Expamle is updated as appropriate.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28657 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 03:41:35 +00:00
bircoph
0d1c2982b0 Spelling: capitalize pronouns.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28656 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-19 02:24:03 +00:00
stefano
908286b437 Rename the "src" parameter in the sws_scale() declaration to
"srcSlice" to stress the fact that it references a slice rather than an
image.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28655 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 23:16:31 +00:00
stefano
ddd68248fe Document sws_scale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28654 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 23:11:47 +00:00
bircoph
8657b1b429 Replace the dash sign by &mdash; tag.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28653 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 21:07:11 +00:00
bircoph
388f3e38f0 Exterminate one more trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28652 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 20:46:46 +00:00
bircoph
23ec546764 Sync with r26990.
Remove trailing whitespaces.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28651 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 19:57:12 +00:00
reimar
73c3ff74e0 Use the same code to convert fps in float to fraction as used in mencoder,
it ensures all the common frame rates work right.
If this causes issues, it should be changed in the same way in mencoder.c


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28650 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 16:49:12 +00:00
bircoph
549c10074b Current revision is in sync with r28645, because r28644 and r28645
doesn't affect Russian translation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28649 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 14:58:06 +00:00
bircoph
a919c1aeb9 Restore synchronization with r28618.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28648 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 14:52:51 +00:00
bircoph
5e13ed1db1 Revert r28597 as requested by Diego in order to be cautious before
relese. (Do not convert to UTF-8 for now.)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28647 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 14:48:30 +00:00
reimar
60fa5a134d Add VOCAP_NOSLICES and use it to allow vo_vdpau to not support slices for
YV12 - since VDPAU only has functions to upload the full frame at once
there is no sense in supporting draw_slice for that.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28646 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 12:30:15 +00:00
diego
4ceed591c8 Also shorten <channel> to <chan> in the description, not just in the example.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28645 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 10:32:07 +00:00
diego
5c669021ea Shorten one example line to avoid the groff warning:
DOCS/man/en/mplayer.1:1905: warning [p 20, 5.7i, div `an-div', 0.0i]: cannot adjust line
DOCS/man/en/mplayer.1:1905: warning [p 20, 5.7i]: cannot adjust line


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28644 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 10:07:11 +00:00
reimar
0248741426 Handle mpcodecs_get_image returning NULL, FFmpeg most of the time handles
it correctly (VDPAU and probably H.264 currently don't, MPEG1/2 does etc.).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28643 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 07:52:17 +00:00
bircoph
f55bc9413c Sync with r28618.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28642 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-18 02:04:16 +00:00
diego
e5ee1232c5 AVR32 apparently supports fast unaligned accesses.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28641 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 22:05:25 +00:00
reimar
0c6b3b8742 Set samplerate in reset also for AC3, and set it before the format in that
case (no idea why, but it is done this way in init, so it is consistent).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28640 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 21:08:22 +00:00
reimar
6ab19b81b1 Mark all Linux RealVideo decoders as buggy, they all seem to have some problem
on some systems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28639 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 20:44:45 +00:00
reimar
4f9a9ae44f Make it possible for mpcodecs_get_image to return NULL as the
documentation says it should instead of crashing.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28638 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 19:01:29 +00:00
reimar
bdfef5ff39 Print an error and return NULL in vf_get_image if we try to allocate
a format with bpp == 0, since this can not work.
This way at least we crash earlier and print an error message.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28637 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 18:59:47 +00:00
reimar
8e5edec13e Set avctx->opaque already at init instead of decode so it can be used in
get_format and get_buffer would not crash if called during avcodec_open.
Patch by Gwenole Beauchesne [gbeauchesne splitted-desktop com]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28636 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 16:40:50 +00:00
Gabrov
78d1037cd9 Typo fix
Patch submitted directly to me by Rezso Pader (rezso at rezso dot net)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28635 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 15:00:57 +00:00
diego
ec3cc468ca cosmetics: Replace unused 'argc/argv' in main declarations by 'void'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28634 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 12:00:43 +00:00
reimar
01ef7e4579 Extend calc_src_dst_rects to also calculate the border values needed for
correctly placed dvdnav highlights, and fix direct3d and vdpau accordingly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28633 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:59:49 +00:00
diego
a845504a5e cosmetics: const static --> static const, avoids the debug mode warning:
cpuinfo.c:80: warning: 'static' is not at beginning of declaration


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28632 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:52:39 +00:00
diego
e9d5b64a29 Also set HAVE_EBP_AVAILABLE in debug mode.
patch by Gwenole Beauchesne, gbeauchesne splitted-desktop com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28631 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:40:59 +00:00
diego
687655ff2f cosmetics: Remove stray empty lines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28630 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:29:43 +00:00
diego
be8c67909b Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:16:19 +00:00
diego
e98a6e2bff Convert HAVE_MEMALIGN into a 0/1 definition, fixes the warning:
mem.c:67:7: warning: "HAVE_MEMALIGN" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28628 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 10:41:13 +00:00
cehoyos
4a8a46fafd Fix compilation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28627 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 10:13:08 +00:00
reimar
a3dbab1813 Cropping parameter to calc_src_dst_rects is const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28626 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 08:09:36 +00:00
reimar
4ed961f7e5 100l, reset ass_border when switching out of fullscreen mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28625 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 08:05:14 +00:00
diego
b14c70b8f5 Use FFmpeg instead of MPlayer MANGLE macro, they are equivalent in this
particular case. Avoids the warning:
In file included from libmpcodecs/vf_fspp.c:693:
./mangle.h:34:1: warning: "MANGLE" redefined
In file included from libmpcodecs/vf_fspp.c:46:
./libavutil/internal.h:113:1: warning: this is the location of the previous definition


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28624 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 03:20:40 +00:00
diego
53067187b8 Move FFmpeg #includes below all others so that they do not override
system functions and cause the warning:
In file included from libmpcodecs/vf_fspp.c:57:
libmpcodecs/mp_image.h: In function 'new_mp_image':
libmpcodecs/mp_image.h:214: warning: implicit declaration of function 'please_use_av_malloc'
libmpcodecs/mp_image.h: In function 'free_mp_image':
libmpcodecs/mp_image.h:226: warning: implicit declaration of function 'please_use_av_free'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28623 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 03:15:10 +00:00
diego
bc2834c384 Move libavutil #includes below all others so that they do not override
system functions and cause the warning:
In file included from mp3lib/sr1.c:27:
/mp_msg.h:115: warning: 'please_use_av_log_instead_of_printf' is an unrecognized format function type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28622 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 03:08:56 +00:00
diego
de53a241ed The CONFIG_TV_TELETEXT preprocessor directive is defined/undefined,
so use it with #ifdef instead of #if; fixes the warning:
libvo/sub.c:1233:5: warning: "CONFIG_TV_TELETEXT" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28621 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 02:57:10 +00:00
uau
991d64b31f Fix compilation without VDPAU
The commit adding vo_vdpau had two bugs that broke compilation when
VDPAU was not enabled.
- video_out.c used "#ifdef CONFIG_VDPAU", but it's always set to 0 or 1
- In configure, MPEG1_VDPAU_DECODER was dropped from the list of
  libavcodec codecs to disable when moving VDPAU-related ones from the
  always-disabled list to a conditinal one.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28620 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 00:09:15 +00:00
cehoyos
288f25d8d9 Fix #endif comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28619 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 23:56:19 +00:00
cehoyos
dea247e8b1 Add note about ffwmv3vdpau.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28618 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 23:05:18 +00:00
reimar
7e9fd9351c Add support for VDPAU video out, including hardware decoding.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28617 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 20:58:13 +00:00