Uoti Urpala
8d5912e60d
mpeg ao/vo drivers: Fix packet-writing helper function types
...
Add missing 'const' to callback functions passed to
send_mpeg_pes_packet() / send_mpeg_lpcm_packet().
2008-08-12 14:57:17 +03:00
Uoti Urpala
680703ecae
ao_mpegpes: Remove declarations of unused functions
2008-08-12 14:57:17 +03:00
Uoti Urpala
f6dfaf26f8
Make various functions static
2008-08-12 14:57:12 +03:00
Uoti Urpala
cab2e4f5ca
Include corresponding .h in some .c files
2008-08-12 13:46:01 +03:00
Uoti Urpala
0d09176078
stream.h: Add 2 prototypes instead of declaring them in cache2.c
...
Declare stream_fill_buffer() and stream_seek_long() always (before
they were only declared if cache was disabled and those were used
instead of cached versions). Remove the now redundant declarations in
cache2.c.
2008-08-12 12:49:37 +03:00
Uoti Urpala
17d3e4b36d
Merge svn changes up to r27441
...
Conflicts:
cfg-common-opts.h
command.c
configure
input/input.c
libmpcodecs/dec_video.c
libmpcodecs/vd.c
libmpdemux/stheader.h
libvo/sub.c
libvo/video_out.c
libvo/vo_xv.c
libvo/vosub_vidix.c
libvo/x11_common.c
libvo/x11_common.h
mp_core.h
mplayer.c
stream/stream.h
2008-08-08 02:13:09 +03:00
diego
af76be6e19
Add separate variables for CFLAGS that are specific to internal libraries
...
and only add them to CFLAGS when compiling objects from those libraries.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27436 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 21:46:06 +00:00
diego
2be57955c5
Remove unused Makefile variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27435 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 21:44:26 +00:00
diego
b3e99753a3
cosmetics: Rename some CFLAGS-related variables.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27434 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 21:03:14 +00:00
diego
2d6b7f320b
10l: Remove stray backslash at end of line.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27433 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 20:32:02 +00:00
diego
d04687fc92
Merge two redundantly declared lines into one.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27432 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:36:31 +00:00
diego
a64801ec63
cosmetics: Sort things into alphabetical order in various places.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27431 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:35:34 +00:00
ben
f56b633045
Add NV12 colorspace support to VIDIX driver.
...
patch by Magnus Damm <magnus dot damm at gmail dot com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27430 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:28:28 +00:00
diego
e0b1c9a6b7
Give a CONFIG_ prefix to preprocessor directives that lacked one and
...
change arbitrary prefixes to CONFIG_.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 12:20:50 +00:00
diego
7377a6a60a
generalized SH architecture support by Magnus Damm, magnus.damm gmail com
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27428 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 11:58:37 +00:00
diego
e98e792843
10l: MUSEPACK --> CONFIG_MUSEPACK
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27427 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 11:19:54 +00:00
diego
5641e60698
Ahem, the MACOSX_FINDER_SUPPORT directive was renamed to MACOSX_FINDER.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27426 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:57:40 +00:00
diego
091d352d06
Rename font-related preprocessor directives.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27425 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 10:36:07 +00:00
ben
dba246199c
Fix wrong behavior with slave command by going back to the starting point
...
of the play_tree to pop all existing configurations.
Patch by Mathieu Schroeter <mathieu dot schroeter at gamesover dot ch>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27424 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 09:53:59 +00:00
diego
141e81cce4
Rename a bunch of miscellaneous preprocessor directives.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27423 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-07 08:58:07 +00:00
diego
024b6efdf1
Introduce CONFIG_ALSA preprocessor directive for ALSA 0.9 and 1.x.
...
Use it in all the places that checked for either ALSA 0.9 or 1.x.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27422 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 23:19:29 +00:00
Gabrov
64877d97ad
synced with r27420
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27421 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 07:50:44 +00:00
diego
473e2824cb
Rename all preprocessor directives related to Apple / Mac OS X.
...
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-06 07:42:26 +00:00
diego
f83e779ee4
Rename some audio-output-related preprocessor directives.
...
Switch them from a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27419 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 16:32:47 +00:00
diego
f7faf638d4
Rename preprocessor definition in check skeleton.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27418 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 08:51:17 +00:00
diego
0a749ffdc5
Rename preprocessor directives related to image libraries.
...
Change a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-05 08:47:51 +00:00
ben
6f37cd89a4
Detect ppc64 and powerpc64 architectures as PowerPC variants.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27416 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 22:38:57 +00:00
ben
5c1de42c0c
cosmetic: reindent after r27414
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27415 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 13:35:42 +00:00
ben
450935badc
Fixes unsafe 'chapter' command with get_property() call.
...
Without it, MPlayer segv trying to dereference NULL demuxer.
Patch by Mathieu Schroeter (mathieu dot schroeter at gamesover dot ch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27414 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 13:35:14 +00:00
ben
8f48445216
cosmetic: reindent after r27412
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27413 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 13:34:10 +00:00
ben
149cab0b04
Fixes unsafe 'angle' command with get_property() call.
...
Without it, MPlayer segv trying to dereference NULL demuxer.
Patch by Mathieu Schroeter (mathieu dot schroeter at gamesover dot ch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27412 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 13:33:22 +00:00
ben
291a150e81
Fixes unsafe 'switch_audio' command with set_property() call.
...
Without it, MPlayer segv trying to dereference NULL demuxer.
Patch by Mathieu Schroeter (mathieu dot schroeter at gamesover dot ch)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27411 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 13:25:20 +00:00
ptt
127339a624
another round to get it in utf-8...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27410 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 09:23:29 +00:00
diego
82f319af62
Change a bunch of X11-specific preprocessor directives.
...
Switch from a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27409 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-04 06:16:23 +00:00
gpoirier
2776119d83
typo fix, bump sync tag
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27408 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 20:17:46 +00:00
ben
bfd89d7610
Add video driver for Nintendo Wii/GameCube.
...
Original patch by Jing Liu <fatersh-1@yahoo.com>,
based on vo_fbdev.c and adapted to Nintendo's specific GPU.
This driver handles dedicated ATI GPU, which can be found in:
- Nintendo GameCube (ATI LSI Flipper @ 162 MHz)
- Nintendo Wii (ATI Hollywood @ 243 MHz)
Flipper and Hollywood chipsets are pretty similar, except from clock speed:
- Embedded framebuffer is 2MB.
- Texture cache is 1MB.
- Vertex cache is 0.1 MB.
- Framebuffer is YUY2, not RGB.
- Best resolution is 480p (854x480)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27407 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 20:04:03 +00:00
Uoti Urpala
2ba9df3df3
ad_pcm: Track pts explicitly
...
ad_pcm used the old audio timestamp tracking system that calculated
timestamp at end of decoder output as
last_timestamp_in_input_decoder_has_read +
bytes_read_after_that_timestamp / input_bitrate.
For PCM this can be accurate as input bitrate is constant. However it
relies on input bitrate being known and actually set. At least in some
case with .mov input and libavformat demuxer it wasn't set. Instead of
special-casing PCM to make sure input bitrate is set (in general it
may not be known or constant at all) change ad_pcm to explicitly set
the pts information on the decoder output side.
2008-08-03 21:25:48 +03:00
diego
8aef85f1c2
Remove duplicated DVB definition line.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27406 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 16:26:11 +00:00
diego
34fb06087b
Revert mistakenly committed temporary local change.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27405 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 16:20:34 +00:00
diego
2faef3e404
Rename --enable-macosx-finder-support option to --enable-macosx-finder
...
and rename related variables accordingly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27404 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 16:16:10 +00:00
diego
4649650cc0
Rename _smbsupport variable to _smb.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27403 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:57:18 +00:00
diego
02135001b4
Change a bunch of video/audio-output-specific preprocessor directives from
...
a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-03 15:21:40 +00:00
diego
52d358e3dc
Set HAVE_DVB in configure when HAVE_DVB_HEAD is defined
...
instead of doing in redundantly in DVB-specific files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27401 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 21:39:29 +00:00
diego
429bf7a9dc
cosmetics: typo fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27400 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 20:35:29 +00:00
Uoti Urpala
6cce822505
Merge svn changes up to r27399
...
Conflicts:
libmpcodecs/vd.c
libmpcodecs/ve_raw.c
libvo/video_out.c
libvo/x11_common.c
mplayer.c
2008-08-02 22:04:35 +03:00
compn
ded7033671
cosmetics: reindent after last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27399 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 18:43:17 +00:00
compn
cae7631dbe
change ve_raw.c:set_format to not overwrite biCompression if force_fourcc is set.
...
fixes -ovc raw -ffourcc
patch by "Andrew Wason" rectalogic !@! rectalogic !.! com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27398 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 18:41:43 +00:00
diego
e588ab056d
Change a bunch of video-output-specific preprocessor directives from a HAVE_
...
prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:38:11 +00:00
diego
7d6022deba
Do not provide a prototype for vsscanf when vsscanf is available.
...
Fixes a redundant redeclaration warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27396 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:09:13 +00:00
diego
96a506733d
Change a bunch of codec-specific preprocessor directives from a HAVE_
...
prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27395 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 16:30:32 +00:00