diego
b63759b175
Do not cast the results of malloc/calloc/realloc.
...
These functions return void*, which is compatible with any pointer,
so there is no need for casts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-26 15:01:37 +00:00
reimar
72d18a204f
Mark stream open filename parameter as const, the filename string is not
...
modified by these functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30739 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:47:04 +00:00
reimar
b99077dc4c
Remove unused function declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30736 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:29:00 +00:00
reimar
e522920697
Make local-only cddb functions static.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30735 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:27:53 +00:00
reimar
bdf546c7c6
Remove declarations of functions now already declared in stream.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30733 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 22:19:32 +00:00
komh
16d8b08089
Define O_BINARY if it is undefined.
...
This removes a platform check for open().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30727 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-25 09:09:57 +00:00
diego
202fbbecdf
Mark vcd_get_track_end () and vcd_read_toc() as static.
...
They are only used within the respective files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30712 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 16:32:03 +00:00
diego
c8a6c6385b
Declare functions from network.c in network.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30698 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 13:50:48 +00:00
diego
638b2af889
Move struct streaming_control from network.h to stream.h, where it is used.
...
This will help in declaring some public functions where they really belong.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30697 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 13:27:58 +00:00
diego
3784d4f992
Remove commented-out declaration of non-existing function streaming_start.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30696 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-22 10:14:00 +00:00
diego
f9c2ab17af
Declare stream_fill_buffer() and stream_seek_long() unconditionally.
...
They are public functions that are unconditionally compiled, so they
should not be declared conditionally.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30691 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 23:30:34 +00:00
diego
326397d815
Add header for asf_mmst_streaming_start() instead of forward declaring it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30690 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 23:26:16 +00:00
diego
49b8b80199
Add header for exported DVB-related functions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30688 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 21:00:08 +00:00
diego
d86a237bdd
cosmetics: Move functions around to avoid forward declarations and #ifdefs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30687 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-21 20:39:49 +00:00
diego
8ba6b4eaf9
cosmetics: Remove pointless empty lines at EOF.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 21:02:49 +00:00
diego
d393029ce2
cosmetics: K&R coding style, indent with 4 spaces, no tabs
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30671 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 19:57:47 +00:00
reimar
b1e549d7bc
Print response headers as debugging output also for HTTP seeks.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30670 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 19:23:14 +00:00
reimar
4b36e2fd18
10l, fix a close() that should be a closesocket()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30669 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 19:22:23 +00:00
reimar
9554a844e9
Do not discard stream buffer on eof, instead reuse it to slightly improve
...
format autodetection with -nocache and non-seekable streams.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30668 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 18:53:07 +00:00
reimar
908f8c91e7
Replace misuse of stream_reset to set stream pos to 0 by more appropriate code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30667 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 18:39:26 +00:00
reimar
bb54613ac1
Fix mov reference files: for video/quicktime mime do not force a demuxer
...
but do autodetection. This tries lavf first but will also try native demuxer
for reference files where open fails for the lavf demuxer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30663 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 11:48:41 +00:00
reimar
74b5e8b68a
Make sure we do not try to use IPv6 with winsock2, we end up connecting
...
to random addresses, causing huge delays.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30661 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-20 11:13:01 +00:00
diego
ca81202840
Add dvd_parse_chapter_range() to stream_dvd.h instead of forward declaring it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30657 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-19 19:38:53 +00:00
komh
c9cf9649cf
Add missing 'defined' for __bsdi__.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30655 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-19 13:40:04 +00:00
diego
d306b727b1
Remove pointless '#if 1' preprocessor directives.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30654 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-19 10:22:29 +00:00
komh
316e05b877
Replace platform preprocessor check by HAVE_DOS_PATHS.
...
This is both more elegant and more portable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30650 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-19 09:14:01 +00:00
komh
9216c6376a
Remove useless CONFIG_SETLOCALE
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30649 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-19 09:12:23 +00:00
diego
2c8f5fa622
stream: Mark functions not used outside of their files as static.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30599 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-16 16:32:38 +00:00
reimar
de41d79d2c
Prefer libavformat over our own mov demuxer also for video/quicktime
...
mime-type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30517 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-05 17:35:48 +00:00
reimar
9d9b7a1e22
Reindent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30499 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 22:33:35 +00:00
reimar
8613396aa0
Add support for FFmpeg's rtsp dummy URL-with-pseudo-demuxer scheme.
...
ffmpeg://rtsp://... will play a rtsp stream via FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30498 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 22:32:48 +00:00
reimar
d97ee3033d
Fix argument order for lseek, fixes cookie loading in Windows and in general
...
everywhere where SEEK_SET != 0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30496 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-03 17:50:18 +00:00
diego
59e26907b6
Add license header to all files missing it in the stream subdirectory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30468 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 22:26:47 +00:00
diego
12abc254d5
stream/rtp.h appears not to originate from dvbstream.
...
In any case it is completely trivial and non-copyrightable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30465 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 21:38:05 +00:00
Uoti Urpala
e28e4a1b15
Merge svn changes up to r30419
2010-01-25 15:59:53 +02:00
Uoti Urpala
4ebf007580
Merge svn changes up to r30375
2010-01-25 15:36:38 +02:00
Uoti Urpala
69fe2522f8
Merge svn changes up to r30301
2010-01-25 15:07:30 +02:00
reimar
4b2e107710
Fix ftp support to properly support large files > 2GB.
...
Patch by Yuriy Kaminskiy [yumkam mail ru]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30418 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 10:13:33 +00:00
reimar
570f1f5dec
Always call cache_uninit to immediately free everything cache-related if we
...
fail to enable the cache.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30404 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 12:27:13 +00:00
reimar
73dea88956
Call cache-uninit unconditionally, it should always be safe to call.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30403 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 12:21:07 +00:00
reimar
4e28b4bc9e
Change code to allow playing a stream even if enabling the cache failed
...
while still handling it when the user aborts the cache fill.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30402 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 12:13:28 +00:00
reimar
0e86058912
Make cache_init static, it is not used outside this file
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30401 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:51:13 +00:00
reimar
03af209bf7
Handle Content-Length also when Content-Type is not set.
...
Based on patch by Yuriy Kaminskiy [yumkam mail ru]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30399 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:14:18 +00:00
reimar
e177aedfc1
Use atoll to parse Content-Length to support http for files > 2GB.
...
Patch by Yuriy Kaminskiy [yumkam mail ru].
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30398 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:08:45 +00:00
reimar
567a8d69a4
Add an exit() to silence a gcc warning and ensure forked code will never
...
leave the cache-loop function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30397 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:03:10 +00:00
reimar
a2d8222f3d
100l, shouldn't write to memory after freeing it.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30396 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 11:00:13 +00:00
reimar
9869be806b
Reindent.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30395 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 10:54:03 +00:00
reimar
3fae575483
Zero freed pointers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30394 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 10:53:28 +00:00
reimar
7afaecc111
Check for fork failing and make sure cache_uninit always frees the cache data
...
even if fork failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30393 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-23 10:50:50 +00:00
Uoti Urpala
a0f08fbebb
stream: improve EOF handling in seeks
...
Reset stream 'eof' flag when a seek succeeds, and allow seeking to a
position at or past EOF (in the sense that the seek succeeds and
stream_tell() then returns that position).
This fixes at least some demuxer problems where an attempt to read
the index from the end of an incomplete file would set the 'eof' flag
and cause subsequent reads to fail, even if failure to read the index
would otherwise be nonfatal and demuxing could continue after seeking
back.
Partially based on a patch from Laurent <laurent.aml@gmail.com>.
2010-01-18 14:38:56 +02:00
reimar
77af8d0859
Add hack to fix tvi_dshow compilation with 64-bit MinGW
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30347 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 13:18:59 +00:00
reimar
abf7e21e79
Change GUID declarations in tvi_dshow so they are not exported and thus
...
will not cause clashes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30342 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-17 11:41:54 +00:00
reimar
33bc71f10d
Add support for distinguishing between little- and big-endian SPDIF AC3
...
and converting between both.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30283 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-11 20:27:52 +00:00
Uoti Urpala
819b8f08a2
Merge svn changes up to r30236
2010-01-08 02:44:37 +02:00
Uoti Urpala
852570d342
Merge svn changes up to r30216
2010-01-08 02:39:39 +02:00
Uoti Urpala
17eb7f2c4b
Merge svn changes up to r30195
2010-01-08 02:06:42 +02:00
Uoti Urpala
d157b2a8ce
Merge svn changes up to r30173
2010-01-08 01:17:56 +02:00
Uoti Urpala
231b33a02f
Merge svn changes up to r30165
2010-01-08 01:05:30 +02:00
reimar
78267a4d21
Support rtmp:// URLs directly instead of requiring ffmpeg://rtmp://
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30232 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-06 16:12:58 +00:00
reimar
abb06b3f11
Simplify ffmpeg stream support, we (so far) do not need any special option parsing.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30231 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-06 16:11:29 +00:00
diego
00ad5d3fed
Add a few missing header #includes and #defines.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30207 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-04 18:58:35 +00:00
diego
348a61a71f
Disambiguate HEADER_SIZE definition in stream/librtsp and stream/realrtsp.
...
This fixes the warning:
In file included from stream/realrtsp/real.c:35:
stream/realrtsp/real.h:36:1: warning: "HEADER_SIZE" redefined
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30194 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-04 09:48:14 +00:00
reimar
12760fc513
Several hacks to fix compilation of tvi_dshow on MinGW64.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30169 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-02 17:41:11 +00:00
reimar
8fb7d45abd
Make code slightly more readable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30148 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 16:47:53 +00:00
reimar
b78313acd8
Fix crash if http reply contains neither "Accept-Ranges" nor "Server" fields.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30147 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-31 16:46:44 +00:00
reimar
c97d19eb49
Add a hack for broken youtube servers not returning Accept-Ranges.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30145 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-30 20:50:03 +00:00
Uoti Urpala
efcc9ad712
Merge svn changes up to r30055
2009-12-18 18:54:42 +02:00
Uoti Urpala
1598302be6
Fix printf format strings with invalid '%lf' conversion
...
Some code used an invalid '%lf' conversion specification for double
arguments. Maybe they were written that way due to confusion with
scanf where doubles are indicated by '%lf'; however it is not a valid
printf format specifier. Change those cases to use '%f'.
2009-12-15 15:27:30 +02:00
reimar
e58e467c56
100l, fix check for V4L2 capture capability flag.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29991 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-11 21:33:57 +00:00
Uoti Urpala
ed333bb31d
Merge svn changes up to r29971
2009-11-29 06:11:02 +02:00
compn
b3eaf99833
mime type [video/x-ms-wmv] is not an ASF redirector.
...
patch by KO Myung-Hun komh!chollian!net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29965 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-26 17:57:33 +00:00
Uoti Urpala
34c8b502e9
stream_ffmpeg: Fix reads near EOF
...
stream_ffmpeg used libavformat's url_read_complete() to read data.
However that function returns failure if it did not manage to read the
_full_ amount of data asked for, while the behavior we want is to
return any positive amount of data there was before end of file. This
caused attempts to read the last bytes in a file to fail. Fix by using
url_read() instead of url_read_complete(); even if some reads before
EOF return less than the full amount that should not be a problem.
2009-11-23 03:47:34 +02:00
Uoti Urpala
5995bc175a
Merge svn changes up to r29962
2009-11-23 01:56:21 +02:00
reimar
af2988cbce
Finally rename the STREAM_SEEK define to MP_STREAM_SEEK, there are just too many
...
name clashes, in particular with Windows headers (which define STREAM_SEEK as an enum type).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29962 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-22 15:18:21 +00:00
cehoyos
e775bdd70d
10l to Reimar: Fix typo.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29931 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-18 09:13:09 +00:00
reimar
e02a2e7f08
Deobfuscate the special hack to disable cache for live555.
...
Cache can not be used for it, since it does not provide any
data stream, the data is provided to the demuxer "behind
MPlayer's back".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29930 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-17 19:23:55 +00:00
reimar
a81e043f98
Merge malloc+memset -> calloc
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29929 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-17 19:14:42 +00:00
reimar
450d40d443
Fall back to read-based seeking for ffmpeg:// URLs when is_streamed is set
...
(i.e. it is not possible to use url_fseek).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29928 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-17 18:30:33 +00:00
reimar
dc19e32d67
Enable the read-based forward seek fallback also when CONFIG_NETWORK is
...
enabled.
Enabling network support should not have side-effects on code not really
related to networking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29926 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-17 18:08:18 +00:00
reimar
00ef6412f4
Use fill_buffer if available also for STREAMTYPE_STREAM
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29925 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-17 18:05:54 +00:00
reimar
5830140582
Add preliminary support for streaming via FFmpeg's URProtocol functions.
...
Basic playback tested for file and http protocols.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29923 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-17 16:09:17 +00:00
Uoti Urpala
287b62163e
Merge svn changes up to r29912
2009-11-16 07:01:46 +02:00
reimar
7694e9074d
Move headers related to setting dvd speed to dvd_common.
...
This makes -dvd-speed work again.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29894 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-11 09:28:21 +00:00
reimar
2bf260398b
Set the EOF flag when dvdnav reached the end of the requested title.
...
Otherwise it would just hang, either at the menu or trying to play the
last played frame as a still frame.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29893 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-11 09:09:08 +00:00
reimar
0d40667c8c
Move dvd_speed and dvd_set_speed to dvd_common and implement -dvd-speed
...
support for dvdnav.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29890 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 23:20:05 +00:00
reimar
36ec821836
Move arrays used by both dvd and dvdnav to dvd_common.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29889 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 23:15:48 +00:00
reimar
80217b4240
Remove unused extern declarations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29888 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 23:12:01 +00:00
reimar
8f164e07a0
Share dvd_device extern declaration between dvd and dvdnav.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29887 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 23:10:57 +00:00
reimar
6e8f1e844f
Remove an unused variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29886 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 23:03:52 +00:00
reimar
bd82936f63
Set demuxer->teletext to NULL when closing the TV interface,
...
since analog teletext can not (yet) work without the TV interface.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29873 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-10 11:24:29 +00:00
reimar
87a4e870b7
The code for the non-networking case is the same whether networking
...
support was enabled or no, so avoid duplicating it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29861 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-09 14:12:14 +00:00
reimar
0d782226c1
Factor out triplicated break statement.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29860 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-09 14:08:35 +00:00
reimar
a144a22453
Remove unused mp_dvdnav_aid_from_audio_num function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29859 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-09 10:29:15 +00:00
reimar
2dfd5e5f53
Fixup the dvdnav <-> sid mapping, dvdnav_spu_stream_to_lang and
...
dvdnav_get_spu_logical_stream both take the same numbering (i.e.
not the ids used in the MPEG-TS).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29858 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-09 10:27:48 +00:00
cehoyos
2a5611473c
Remove CONFIG_TV_TELETEXT.
...
DVB teletext support is nearly finished, it will be possible to read
teletext from file, it will not be depending on reception any more.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29851 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-07 16:40:42 +00:00
cehoyos
423c415534
Separate teletext from tv support.
...
Path by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29848 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-07 12:31:05 +00:00
reimar
ef479d9d01
dvdnav: print ID_SID_..._LANG, just like dvd://
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29832 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-05 21:29:14 +00:00
reimar
c76ea256de
Cosmetics: indentation, merge two consecutive ifs.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29831 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-05 21:27:25 +00:00
reimar
503fe2eb9c
Make dvdnav also print info about audio streams with unknown language, just like dvd://
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29830 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-05 21:26:23 +00:00
reimar
b00d649d98
Make the dvdnav stream language information output more similar to the dvd one.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29829 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-05 21:22:38 +00:00
reimar
f46ede9a6b
Change the subtitle numbers in the dvdnav subtitle language info to match
...
the numbers used by MPlayer's OSD and -sid option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29828 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-11-05 21:13:38 +00:00
cehoyos
631d5f1f84
Replace two more occurences of tvi_vbi with dec_teletext.
...
Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29808 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-31 15:30:56 +00:00
cehoyos
88397d63f1
Support ISDB-Tb tunning in Brazil
...
Patch by Sérgio Fortier, sergiofortier A yahoo com br
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29803 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-30 10:03:54 +00:00
cehoyos
9df11ee8bf
Add MSGT_TELETEXT, rename TVI_CONTROL as VBI_CONTROL and fix some paths
...
in comments.
Based on a patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29802 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-29 22:39:00 +00:00
cehoyos
a9474b0b39
Move teletext specific code from stream into libmpcodecs.
...
Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29801 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-29 22:13:04 +00:00
cehoyos
1198f65d0b
Fix teletext character set auto-detection.
...
Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29796 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-24 13:19:20 +00:00
diego
50f563f927
cosmetics: Remove some pointless parentheses from return calls.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29759 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-10-08 11:25:01 +00:00
Uoti Urpala
0e1b7765be
Merge svn changes up to r29644
2009-09-04 19:49:35 +03:00
reimar
d1e7b4dc6f
Fix possible crashes with invalid SDPs that result in stream descriptions
...
not being initialized.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29626 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 10:55:36 +00:00
reimar
ac11b35a6a
Fix several more rtsp-related memleaks.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29625 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 10:44:26 +00:00
reimar
70a247b26d
Fix asmrp_dispose to also free the buffer.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29624 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 10:37:32 +00:00
reimar
2726fe03ec
Use calloc to ensure rmff_new_mdpr returns fully initialized data.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29623 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 10:35:06 +00:00
reimar
3351bc2d18
Move variable declaration to where it is used.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29622 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 10:28:08 +00:00
reimar
079a64ae8d
Make sure we do not strdup(NULL), avoids a crash with non-real streams.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29621 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 10:22:08 +00:00
reimar
5c4a06530d
Fix several memleaks in real_setup_and_get_header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29620 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 10:20:45 +00:00
reimar
24e788fc4c
Change real_setup_and_get_header to use goto a single exit path to simplify
...
proper freeing of allocated data.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29619 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-09-02 10:10:42 +00:00
Uoti Urpala
95da34aa07
Merge svn changes up to r29532
2009-08-18 02:29:37 +03:00
cehoyos
6a101a97f9
Fix file information. Patch by Francesco Lavra, francescolavra interfree it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29521 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-15 23:41:35 +00:00
cehoyos
4112165879
Add missing major contributors to copyright statement.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29520 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-15 23:33:56 +00:00
cehoyos
19199c79ae
Fix another typo. Patch by Francesco Lavra, francescolavra interfree it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29470 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-02 15:39:08 +00:00
cehoyos
c8bbeea3b2
Add standard GPL license header. Patch by Francesco Lavra, francescolavra interfree it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29468 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-02 14:50:24 +00:00
cehoyos
35b86231c2
Fix more typos. Patch by Francesco Lavra, francescolavra interfree it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29467 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-02 14:44:12 +00:00
cehoyos
463ac707c1
Remove unused include's. Patch by Francesco Lavra, francescolavra interfree it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29466 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-02 14:41:15 +00:00
cehoyos
7fd95348fe
Fix typos. Patch by Francesco Lavra, francescolavra interfree it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29465 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-02 14:38:18 +00:00
Uoti Urpala
4a36b51ea6
Merge svn changes up to r29455
2009-07-29 01:32:03 +03:00
uau
45b7b9374b
stream/realrtsp/real.c: Fix another integer overflow
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29455 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-28 16:25:03 +00:00
uau
4dc235eb7c
stream/realrtsp/real.c: Fix integer overflow
...
Pointed-out-by: tixxDZ <tixxdz at gmail dot com> - DZCORE Labs, Algeria
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29447 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-27 16:53:48 +00:00
diego
e5751ced4f
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +00:00
Uoti Urpala
d6c410b54c
Replace libavutil internal header #includes with MPlayer copies
...
Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h
and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/
instead.
2009-07-26 06:16:43 +03:00
Anton Khirnov
87366694d8
Remove the internal GUI
...
The GUI is badly designed and too closely coupled to the internal
details of other code. The GUI code is in bad shape and unmaintained
for years. There is no indication that anyone would maintain it in the
future either. Even if someone did volunteer to implement a better
integrated GUI having the current code in the tree probably wouldn't
help much. So get rid of it.
2009-07-07 21:49:42 +03:00
Uoti Urpala
a2037a2eff
Merge svn changes up to r29412
2009-07-07 02:56:01 +03:00
Uoti Urpala
0eb321bf2c
Remove trailing whitespace from most files
2009-07-07 02:34:35 +03:00
Amar Takhar
e306174952
Translation system changes part 2: replace macros by strings
...
Replace all MSGTR_ macros in the source by the corresponding English
string.
2009-07-07 01:38:20 +03:00
Amar Takhar
b5972d6f14
Translation system changes part 1: wrap translated strings
...
Replace mp_msg() calls which have a translated string as the format
argument with mp_tmsg and add _() around all other translated strings.
2009-07-07 01:28:07 +03:00
reimar
437efdc855
Replace incorrect use of strncpy by av_strlcpy.
...
Only a real issue if inet_ntoa can actually return a string of more than 255 bytes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29393 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 13:54:22 +00:00
diego
bf67bb10a1
Files should be opened in binary mode on OS/2.
...
patch by KO Myung-Hun, komh chollian net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29346 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-03 14:06:10 +00:00
reimar
c783e58e91
Using nl_langinfo in the asf mmst implementation makes no sense since
...
MPlayer does not use setlocale.
Just default to UTF-8 as input charset until there is a better solution.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29333 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-31 13:09:48 +00:00
diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
Uoti Urpala
1db1773ec2
Merge svn changes up to r29277
2009-05-08 23:50:26 +03:00
diego
4567425051
Reemit the ID_AID_x_LANG for the track. This allows the identification of the
...
audio track by language code (en or es) rather than by ID (128 or 129).
patch by Kevin DeKorte, kdekorte gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29170 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-11 13:51:02 +00:00
reimar
b6225fc8ae
Make tvi_v4l2 print -1 as "Current input" if the ioctl to read it failed.
...
Previously it printed (number of inputs + 1) which is needlessly confusing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29161 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-10 10:13:41 +00:00
reimar
486ce51625
Add a -indentify message that indicates if the current DVDNAV title is
...
a menu or a video.
Patch by Kevin DeKorte [kdekorte gmail com], approved by Nico.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29156 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-09 14:23:09 +00:00
Uoti Urpala
d136cf6882
Merge svn changes up to r29134
2009-04-02 23:55:13 +03:00
diego
a38ca08ca0
Remove unused variable along with the related warning.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29122 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-01 16:27:03 +00:00
Uoti Urpala
cf9edda1d3
Merge svn changes up to r29117
2009-04-01 02:43:47 +03:00
reimar
f5d01796a8
100l, revert r29082, I missed that the vts comparison should be case-insensitive.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29084 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-28 16:09:56 +00:00
reimar
8d376de96f
Reindent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29083 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-28 15:54:08 +00:00
reimar
df1af70475
Simplify extracting title number from ifo name
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29082 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-28 15:53:32 +00:00
reimar
8198495234
Simplify detection of .ifo extension.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29078 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-27 21:26:26 +00:00
compn
09d4f18010
change close to closesocket, unifies close streaming code
...
patch by Francesco Cosoleto , cosoleto gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29066 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-26 13:35:12 +00:00
reimar
127480e660
Add support for mmsh:// as alias for mmshttp://
...
Patch by Francesco Cosoleto [cosoleto gmail com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29064 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-26 11:00:04 +00:00
reimar
b397b28b31
Add TVI_CONTROL_VID_SET_WIDTH_HEIGHT to set width and height together for v4l2,
...
otherwise some drivers will always stay stuck in the lowest resolution.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28975 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-16 17:12:29 +00:00
reimar
37c6f0d36c
100l fix calculation of dropped frames, number of frames is time * fps, not time / fps.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28962 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-15 16:12:05 +00:00
Uoti Urpala
ae2faad666
Merge svn changes up to r28951
2009-03-14 23:52:45 +02:00
ben
540847db7b
Ensure the string we're trying to compare is actually not NULL.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28920 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 20:31:03 +00:00
ben
571c0fb8a9
The first valid index is total count - 1 (usually 0)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28919 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-09 20:30:24 +00:00
Uoti Urpala
0c6f667896
Merge svn changes up to r28755
2009-02-28 05:58:59 +02:00
reimar
8605d7090e
Use memset to make sure all parts of struct sockaddr_in are always initialized.
...
Problem reported by [kmkaplan+mplayer-dev-eng (at) kim kim-minh com]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28732 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-25 12:51:20 +00:00
Uoti Urpala
66f6f9f076
Merge svn changes up to r28712
2009-02-23 21:00:52 +02:00
diego
ee50536b74
Accept DVB API 5, patch by Steven Brudenell, steven.brudenell gmail com.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28702 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-22 14:12:33 +00:00
Uoti Urpala
186e5a998c
Merge svn changes up to r28641
...
Convert vo_x11_border (used in vo_gl/gl2 though the vo_gl_border
macro) to use a wrapper macro in old-style VOs which do not provide a
VO object argument. Before this function had an explicit global_vo
argument in vo_gl/gl2. New vo_vdpau uses it too so use the same
mechanism as most other functions.
2009-02-18 01:45:36 +02:00
diego
1b915e419e
Replace double semicolon by single semicolon.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28611 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 02:00:29 +00:00
Uoti Urpala
9790f4e6e7
Merge svn changes up to r28461
2009-02-04 00:28:17 +02:00
diego
7e1662839a
Restructure network tests: Always check for both inet_aton and inet_pton.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28439 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 14:38:28 +00:00
diego
0f65d3be9d
Convert HAVE_WINSOCK2_H into a 0/1 definition.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28437 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 13:42:27 +00:00
diego
3b222d68b0
HAVE_ATON --> HAVE_INET_ATON to match FFmpeg and give it a 0/1 value.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28435 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 13:33:35 +00:00
diego
be5f5c7046
Convert HAVE_CLOSESOCKET and HAVE_SOCKLEN_T into 0/1 definitions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28434 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 13:16:46 +00:00
Uoti Urpala
dd888b05ff
Merge svn changes up to r28366
...
Contains more changes needed to sync build system with latest FFmpeg.
Conflicts:
Makefile
configure
mplayer.c
2009-01-26 00:58:15 +02:00
reimar
84fbeecf72
Fix a NULL-check that used && instead of || and thus could not avoid crashes.
...
Patch by Luis Felipe Strano Moraes (luis strano gmail com).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28354 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 18:23:05 +00:00
Uoti Urpala
9bcd12fdf5
Merge svn changes up to r28310
...
The libdvdread4 and libdvdnav directories, which are externals in the
svn repository, are at least for now not included in any form. I added
configure checks to automatically disable internal libdvdread and
libdvdnav if the corresponding directories are not present; if they're
added manually then things work the same as in svn.
2009-01-15 05:57:31 +02:00
reimar
4af9bf7e02
Switch internal dvdread to libdvdread SVN external.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28280 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-08 19:28:28 +00:00
diego
824abb5a65
Add missing 'void' keyword to parameterless function declarations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 14:48:03 +00:00
reimar
82d097d04b
Fix DVD seek_to_chapter: the title number must be converted to a per-VTS
...
title number first. Also add a few out-of-bounds checks just in case.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28226 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-01 11:46:34 +00:00
reimar
a2c2268cdf
Work around a dvdread bug where DVDReadBlocks would return values < 0 on read error,
...
causing hangs e.g. when seeking to the very last chapter (which would read beyond the
size of the DVD).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28216 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-31 14:21:50 +00:00
Uoti Urpala
c1b80dcbbb
Merge svn changes up to r28204
2008-12-27 17:40:57 +02:00
diego
47044eb841
Avoid u_ BSD type names.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28197 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-27 12:03:51 +00:00
Uoti Urpala
a3ab9e8e46
Merge svn changes up to r28149
2008-12-14 17:28:16 +02:00
diego
39090878e5
Replace informal GPL notes by standard GPL header.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28140 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-13 12:13:48 +00:00
Uoti Urpala
8c144171bb
Merge svn changes up to r28087
...
Conflicts:
command.c
libao2/ao_ivtv.c
libao2/ao_v4l2.c
libmpcodecs/dec_video.h
libvo/aspect.h
libvo/sub.c
libvo/sub.h
libvo/vo_directx.c
libvo/vo_macosx.m
libvo/vo_quartz.c
mp_core.h
mplayer.c
mplayer.h
osdep/getch2.h
osdep/timer.h
2008-12-04 01:55:52 +02:00
diego
0864f92e7a
Get rid of pointless 'extern' keywords.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 23:01:03 +00:00
Uoti Urpala
e62517ef6a
Merge svn changes up to r28065
2008-12-02 18:02:05 +02:00
reimar
bd7e915bf5
Move PTHREAD_CACHE define logic to configure.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28048 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-28 17:04:36 +00:00
Uoti Urpala
1715c2a336
Merge svn changes up to r27949
...
Conflicts:
common.mak
libvo/vo_xv.c
libvo/x11_common.c
libvo/x11_common.h
stream/cache2.c
2008-11-17 20:50:23 +02:00
reimar
7ecf9a6d04
100l, stream->cache_pid can not be used directly in pthread_create,
...
it has the wrong type. Luckily we currently do not need the value anyway.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27930 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:43:39 +00:00
reimar
ca77ee41f0
Use pthreads for the cache on Cygwin, since _beginthread is not available
...
and the previous CreateThread method would probably leak memory here, too.
Also pthreads seems to be the official Cygwin threading API.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27928 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-15 19:08:50 +00:00
reimar
1f52c9ed8b
Include cache2.h in cache2.c, fixes an implicit declaration warning for cache_do_control
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27910 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-14 19:29:04 +00:00
Uoti Urpala
e46ce9c0ac
Merge svn changes up to r27899
2008-11-06 20:41:40 +02:00
nicodvb
e3d5eacec3
set to -1 fds that were closed; handle the sec_fd only if CONFIG_DVB_HEAD isn't defined; patch by Reimar
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27897 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-05 23:37:52 +00:00
reimar
1efaaef8a6
Intialize unused fd variables to -1 (which is actually invalid) instead
...
of 0 (which is stdin and can cause weird side-effects).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27893 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 18:44:14 +00:00
reimar
2808f340cd
Fix condition broken in r27401 which incorrectly caused stdin to be closed after playing DVB.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27892 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-04 18:42:46 +00:00
reimar
a2cd1d4d04
Forgotten reindent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27882 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 17:15:44 +00:00
reimar
863a334a9f
Add a noicyx:// protocol to allow easier testing for misconfigured servers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27881 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 17:15:14 +00:00
reimar
6818a5e843
vfw.h needs a windows.h include before on MinGW64.
...
Since vfw.h on MinGW32 includes windows.h automatically it should not make a difference there.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27880 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-11-02 16:46:02 +00:00
reimar
d4020af479
Avoid a memleak if allocation of field_name fails, fixes bug #1319 .
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27868 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-31 12:56:25 +00:00
Uoti Urpala
0301309425
Merge svn changes up to 27824
...
Conflicts:
cfg-common-opts.h
libmpcodecs/dec_video.c
libmpcodecs/vd.c
libvo/x11_common.h
mplayer.c
stream/cache2.c
2008-10-25 05:12:34 +03:00
diego
c0f231ac47
Conditionally declare a conditionally used variable, fixes the warning:
...
stream/dvb_tune.c:99: warning: unused variable 'sec_dev'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27820 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-24 09:13:04 +00:00
diego
ed0af8844a
Determine default CD/DVD device in configure instead of using an #ifdef jungle.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27809 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-21 07:02:25 +00:00
diego
6f6bf7f765
Replace typeof by __typeof__, the former is a non-portable GNU extension.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27807 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-20 09:55:38 +00:00
reimar
3d1f36e3e7
Avoid CreateThread and especially TerminateThread since they cause a memleak.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27804 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 18:05:45 +00:00
reimar
834d4c5b7b
Remove useless casts.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27803 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 17:28:23 +00:00