1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-21 07:16:56 +00:00
Commit Graph

751 Commits

Author SHA1 Message Date
arpi
0bb18f0541 check for framesize validity, return -1 (error) for zero size (bug found by pl)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7911 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-25 14:33:51 +00:00
henry
181233f35f added an option for specifying the size of capture buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7906 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-25 09:42:41 +00:00
arpi
bfe2ea0c6a max header size increased
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7890 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 23:40:34 +00:00
arpi
12bf06a1ad allow cache to be disabled (-nocache should override cachesize autodetection
in stream layer)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7882 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 22:07:29 +00:00
arpi
e6ebe2824e - fixed several 10l bugs
- using get_media_packet impl. from mmsclient 0.0.3
- buffering code simplified/fixed


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7881 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 20:39:49 +00:00
arpi
5fe1f32e2b yeah, test.c works now!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7875 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 18:20:13 +00:00
arpi
f2b93c074f 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7869 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 17:23:05 +00:00
arpi
f9e3a4bf88 cleanup config option handling in libmpdemux.
removed overcompilacted m_config_register_options() mess - export the
subconfig structs instead


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7868 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 17:21:01 +00:00
arpi
bf3c311ee8 mpdemux.c|h moved to libinput, mpdemux_check_interrupt() -> mp_input_check_interrupt()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7863 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 14:46:20 +00:00
arpi
24aa223ad6 added libmpdemux depends to test.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7860 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 13:59:05 +00:00
pontscho
8a61cd287b dvd chapter detect function from Gregory Kovriga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7855 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 22:45:30 +00:00
arpi
3dad4315a4 dump wav header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7848 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 16:02:21 +00:00
arpi
c88b1c67fb endianess independency (using get int 16/32/64 func instead of typecasting pointer)
patch by Hampa Hug <hhug@student.ethz.ch>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7846 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 15:41:41 +00:00
henry
2508ca0ccd minor fixes in forceaudio option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7845 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 15:33:41 +00:00
arpi
3d100efa41 OSS is optional (fixes case when "tv" enabled, and "ossaudio" disabled)
patch by Chad Netzer <cnetzer@sonic.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7844 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 15:14:30 +00:00
henry
5714b89de2 add an option to force audio recording when a tv card reports no audio sources
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7836 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 07:56:13 +00:00
henry
3ab85b9191 add a forgotten shutdown test
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7835 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-22 07:29:09 +00:00
bertrand
b6d2718ec5 Fixed more potential mem leaks and use the url_free method
to free all the member pointers of the url.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7810 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 23:28:51 +00:00
alex
9dc4d5f6ff removed the mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7808 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 20:56:28 +00:00
alex
108e2a2130 set position in channel list on startup. note: hope one day we will get cleaned the int->float->int sutff ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7807 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 20:55:06 +00:00
alex
0d843dd4e9 Stop grabbing from v4l when paused by Jindrich Makovicka
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7804 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-19 20:03:40 +00:00
arpi
fd894b987b fix & workaround possible sig8/sig11 in blocksize calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7786 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 22:12:32 +00:00
arpi
062f1005aa fix bih->biSize for uncompressed files too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7785 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 21:54:51 +00:00
arpi
60c8189dd9 fill the extra bytes with zero
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7777 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 00:54:13 +00:00
arpi
367860560c 10l - do not read INDEX twice!!!
list index even if generated by mplayer (verbose>=2)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7763 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 21:04:19 +00:00
arpi
ef0fc1c09f memleaks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7762 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 20:25:23 +00:00
arpi
bf755a5a41 memleak fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7761 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 20:17:20 +00:00
arpi
c71c9ff5ab memleak fix (found by valgrind)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7760 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 20:14:29 +00:00
arpi
4644a460cb ss_div/ss_mul defaults to 0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7755 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 16:51:03 +00:00
arpi
1413b42ad5 use standard gsm fourcc 'agsm' instead of msgsm id 0x31
patch by Ross


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7751 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 15:15:43 +00:00
arpi
6998d862e0 ds_tell_block()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7749 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 14:50:45 +00:00
bertrand
58dd343603 Don't start a CDDB request to the CDDB server if there is no CD in the drive,
plus some compilation warning fixes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7747 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 08:14:42 +00:00
arpi
d28c74a027 -fps autodetection
patch by Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7731 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 21:57:54 +00:00
bertrand
199e0975c2 Create the ~/.cddb directory if not present.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7722 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-13 08:27:03 +00:00
arpi
a10342d61a stream selection cleanup, fixed -nosound
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7711 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-10 23:24:15 +00:00
arpi
18ab676087 -nosound fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7674 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-08 23:53:33 +00:00
arpi
a38ea8705b fixed LPCM parsing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7672 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-08 22:57:39 +00:00
bertrand
f767a62a42 Added support for RTSP stream over TCP.
Patch from Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7665 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-08 05:46:23 +00:00
arpi
feec550941 * Fix for the broken MultiDec files I had originally posted with the
first version of the demuxer. They play ok now. Fix can be disabled
through conditional compiling, so just comment out the #define directive
if it breaks anything (see source).
* Demuxer now honours audio/video ids. Since PVAs only contain one audio
track and one video track by specification, they are vid 0 and aid 0.
This also fixes the "too many audio/video packets in buffer" with
-dump[audio|video].
* substituted longs with off_t's for offsets, so that it should work on
large files.

patch by Matteo Giani <matgiani@ctonet.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7664 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 22:13:34 +00:00
jkeil
d260d605ec BE_16/BE_32 macro was accessing integers from unaligned addresses on SPARC
char2short/char2int broken on BIGENDIAN


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7655 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 16:43:04 +00:00
arpi
632b8e8edd smb:// (samba client) support by Vladimir Moushkov <vlindos_mpdev@abv.bg>
TODO: add libsmb* detection and #define LIBSMBCLIENT to ./configure !


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7631 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-06 18:03:12 +00:00
arpi
3053a8b7f2 aufio filter layer (libaf) integration to libmpcodecs, mplayer and mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7605 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-05 22:55:45 +00:00
arpi
0dfb266f56 This just corrects a function name to match the other demuxer's
"xxx_check_file" convention, adds a verbose note about (to match the other
demuxers)
patch by Kees Cook <mplayer@outflux.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7595 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-04 19:23:36 +00:00
alex
d65409434c this patch adds an ability to recover from audio buffer cross-run by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7587 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-02 16:56:54 +00:00
alex
a83dd2b15c some cleanups for video_grabber() which fix a race condition by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7586 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-02 16:47:41 +00:00
alex
53b73363df this patch adds an ability to recover from audio buffer cross-run by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7585 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-02 16:46:55 +00:00
michael
021c753321 rv10 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7574 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-01 20:01:04 +00:00
arpi
88ab61eaab - demuxer->audio->id is set to -2 when using 'frameno.avi', so
in that case, just skip audio packets.
- When processing NuppelVideo files with mencoder,
  remaining time, estimated size, etc. fields are not computed.
  SOLUTION: Update demuxer->filepos variable when reading the packets.
patch by Petr Pudlak <wandermind@centrum.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7567 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-30 21:10:41 +00:00
arpi
eb7eb4bdde some cleanup - made private vars/funcs static, removed obsolete externs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7560 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-29 19:26:40 +00:00
arpi
db99f581cf passthrough timestamps to demuxer
patch by Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7535 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-28 18:51:44 +00:00
alex
d9e1ce4348 complex patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7533 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-28 18:49:47 +00:00
alex
88a7cf8f7d btaudio driver support by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7529 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-28 18:42:17 +00:00
arpi
2f74e98e0f dump processed edit list data
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7515 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-27 20:33:09 +00:00
bertrand
fbcc3a2466 Display the IP address that has been resolved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7514 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-27 19:20:20 +00:00
arpi
2c23e786e5 fixed invalid -aid/-vid segfault
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7502 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-25 22:19:11 +00:00
jaf
5b7905fdd2 changed 'detected fileformat' messages to a message with %s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7483 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 14:28:29 +00:00
lgb
143379bd74 Fix nick of sbmpost
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7477 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 13:14:56 +00:00
arpi
d483a015a2 tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
arpi
61c5a99851 wine headers cleanup
- WAVEFORMATEX & BITMAPINFOHEADER decl moved to stheader.h
- lots of useless include wine/* removed from mplayer code
- fixed few warnings


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7472 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 00:43:14 +00:00
arpi
aef01c5a50 get_sh_audio/get_sh_video removed (never used, also useless)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7470 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 00:35:35 +00:00
arpi
06855fc3fb - cosmetics, reorder
- removed sh_video->image, get_sh_video()/get_sh_audio() - they are unused and confusing


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7468 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-21 23:23:03 +00:00
arpi
e5833bde50 we don't need the 0x1ff hack any more!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7466 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-21 22:39:04 +00:00
lgb
b9ce5ed76c fix segmentation fault with -dvdkey, fix return value of dvd_css_descramble(), try to load css.so syms with AND without _ in syms' names. PLEASE TEST IT CURRENTLY I HAVE NO DVD DRIVE NOR A SINGLE VOB FILE ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7460 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-21 16:04:14 +00:00
arpi
78362eea3f fixing edit-list playback (it uses the mvhd-timescale instead of the mdhd-one)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7442 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-18 19:09:11 +00:00
bertrand
c1c5c5286c Added the cdinfo.c for compilation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7434 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-17 19:53:04 +00:00
bertrand
e5c99e5a77 Enable CDDB support only if the network layer is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7433 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-17 19:52:27 +00:00
bertrand
38f81cf148 Moved all the cdinfo specific from cddb to a standalone file(cdinfo.c), so
if no network, cdda can still be compiled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7432 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-17 19:51:12 +00:00
bertrand
12ec7ec1b2 Moved all the cdinfo specific from cddb to a standalone file, so
if no network, cdda can still be compiled.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7431 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-17 19:49:57 +00:00
arpi
134ace1f96 hpux DVD support fixes by Martin Gansser <mgansser@ngi.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7424 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-16 20:46:31 +00:00
arpi
0013558c06 removed dummy OGG functions - use #ifdef instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7414 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 22:38:30 +00:00
arpi
84cc3f7ca3 some cosmetics - reordering declarations, 10l for cache2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7413 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 22:38:01 +00:00
arpi
eafdad4b73 stream layer cleanup part 2
STREAMTYPE_TV removed, use STREAMTYPE_DUMMY instead. tv init moved to demux_open


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7409 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 20:51:55 +00:00
arpi
4ccfe264a3 stream layer cleanup - part 1
STREAMTYPE_MF removed, using STREAMTYPE_DUMMY instead
mf.c/demux_mf updated to do the opening in demux_open instead of stream_open


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7408 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 19:47:49 +00:00
arpi
860a224184 removed obsolete VCD_CACHE hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7407 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-15 18:48:16 +00:00
arpi
424831f651 The granule position of pages contining Vorbis audio is in units of
PCM audio samples (per channel; a stereo stream's granule position does
no increment at twice the speed of a mono stream).
patch by Moritz Bunkus <moritz@bunkus.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7397 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-14 23:21:22 +00:00
bertrand
fda754a0bb Added a new ASX playlist mime-type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7394 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-13 22:39:48 +00:00
alex
62269a7d37 added smjpeg demuxer only for nexus' request
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7383 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-13 18:58:14 +00:00
arpi
7c5ed4f1c2 .PVA (mpeg-like fileformat used by MultiDec && WinTV) demuxer
slightly modified patch, original by Matteo Giani <matgiani@ctonet.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7365 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-10 21:50:03 +00:00
arpi
5b3e3be175 TGA images (-mf on:type=tga) support
patch by Tilman Sauerbeck <tsauerbeck@users.sourceforge.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7363 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-10 20:59:52 +00:00
arpi
870d1cb130 fixed >2GB files demuxing
patch by Ilkka Forsblom <Ilkka.Forsblom@helsinki.fi>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7362 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-10 20:42:45 +00:00
bertrand
75ed70c865 Applied patch from Gregory Kovriga <gkovriga@techunix.technion.ac.il>
- Url was not properly parsed if an @ was in the file path.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7331 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-09 04:16:16 +00:00
arpi
cd8540ab8c removed messy global 'tv_handle', use stream->priv for that purpose
note: i couldn't test it (only compile test) may be broken :(
we're going to an unified demuxer API - required for modularization


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7330 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 23:00:01 +00:00
alex
ccffaee52b fixed get_format/set_format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7320 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 16:05:59 +00:00
alex
fd4707a2b8 changed message leveles (too many non-sense info messages)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7319 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 16:04:21 +00:00
alex
9b10afa43e tuner setting isn't mandatory. requested by Jonas Munsin <jmunsin@iki.fi> for webcams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7318 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-08 14:55:03 +00:00
bertrand
afe4a4e96f Don't try to reread from the socket if the server says EOF
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7311 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-07 20:38:44 +00:00
bertrand
488c6ad710 Fixed an unknown command. Looks like it's a new command from WMS9.
Changed all the exit by return -1


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7310 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-07 20:37:09 +00:00
alex
3e3af1af58 removes old input code (forgot to commit this)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7309 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-07 20:30:17 +00:00
bertrand
e620b2a53c Check if realloc failed on http_hdr->buffer instead of ptr in http_response_append,
and got rid of ptr which wasn't used anymore.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7305 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-07 08:15:57 +00:00
michael
8c5f449de0 typo (checking for mpeg twice, instead of mpeg & MPEG)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7303 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-06 22:36:55 +00:00
jkeil
11d695ebbf SPARC gcc generates bad code accessing an unaligned and packed structure member
(See gcc problem report PR c/7847); mplayer crashes with SIGBUS signal.

Added a workaround: copy the unaligned stucture member to a temporary local
variable using memcpy, and use that in the code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7297 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-06 13:31:33 +00:00
arpi
9954e006ae - simpler http_response_append (uses realloc())
- http_response_append addes extra 0 byte to close teh string
  (some functions like http_is_header_entire() use standard string
  functions like strstr which requires trailing zero)
- check for NULL string in http_is_header_entire()


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7294 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-06 00:03:16 +00:00
bertrand
08ee46ae5d Humm, only if __DEBUG_URL is defined, declare the prototype...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7280 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-05 05:04:12 +00:00
bertrand
139bb71285 Applied patch for OpenBDS from Marc Espie (submitted by Björn Sandell <biorn@dce.chalmers.se>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7270 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-04 17:46:03 +00:00
bertrand
97afbee906 - If fatal error while trying to connect to a WM server, skip other proto.
- Fix that makes mplayer works with corona(WMS9) servers.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7253 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:32:13 +00:00
bertrand
8925019760 Return -2 for fatal error while connecting to a server.
Fatal are unable to resolve name, connection timeout...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:29:44 +00:00
bertrand
c5cc04f2c8 Checked if the connection succeeded before writing in the socket.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7251 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:25:31 +00:00
arpi
d53dbde7a4 gcc 2.95.4 doesn't like VAR==value without spaces
patch by Martin Olschewski <olschewski@zpr.uni-koeln.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7246 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-02 19:19:56 +00:00
alex
d8cd6b2057 removed obsolete items
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7233 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-01 18:23:18 +00:00
arpi
74dbe1d838 audio in layer is used only bu tvi_v4l, don't compile for others.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7214 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 22:41:29 +00:00
arpi
4788615827 user-data moved one -v up
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7209 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 18:31:05 +00:00
atmos4
119841635b fix cache disable for live.com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7205 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 15:59:10 +00:00
arpi
6740811112 removed buggy fd<0 check for disallowing dumpstream/cache
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7203 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 15:44:41 +00:00
arpi
42a6e2398e 1000l - libmpdvdkit2 fix, thx Nexus
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7197 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-31 14:01:46 +00:00
arpi
7caf8770b8 assume $(CC) can compile c++ - fixes compile with non-default compiler
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7169 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 14:35:17 +00:00
alex
c2b67a610b v4l audio fixes by Jindrich Makovicka <makovick@KMLinux.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7164 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 11:37:42 +00:00
arpi
354fc0e75c 10l bug, found by Nexus
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7150 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 21:37:45 +00:00
arpi
ae8ff3e445 use dir/libname.a instead of -Ldir -lname
partially done by "Steven M. Schultz" <sms@2BSD.COM>
Note: some entries (libmpdvdkit, libdha) left unchanged as they may be
dynamic and not shipped with mplayer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 21:30:57 +00:00
arpi
39f2bf39d5 new mencoder option -info, to store copyright, title, encoder version etc in AVI
based on patch by "Andriy N. Gritsenko" <andrej@lucky.net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7146 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 20:50:49 +00:00
arpi
978bfc3003 fixed RIFF chunk size - patch by "Andriy N. Gritsenko" <andrej@lucky.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7145 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 20:21:59 +00:00
arpi
d4197da915 - Tell the RTSP client code to use the string "mplayer" in RTSP
"User-Agent:" fields.  NOTE: This requires an up-to-date version of the
LIVE.COM Streaming Media libraries.
- Fix a bug that could cause mplayer to crash on exit if a "rtsp://" URL was bad.
patch by Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7144 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 20:19:33 +00:00
bertrand
a7d15a362b inet_aton fallback support by Joey Parrish <joey@yunamusic.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7136 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 07:07:12 +00:00
arpi
0f4f7e27cf mostly compiler warning fixes, some small bugfix
patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7128 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 22:45:48 +00:00
alex
ac943f379a fixes problems when new line is just '\n' and not '\r\n' and enabled html-markup ignore. Patch by Piotr Krukowiecki <piotr@pingu.ii.uj.edu.pl>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7116 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 17:07:55 +00:00
arpi
ce0b26ac75 - added matrix cracking/debugging code - disabled
- use real codec headers for sipr


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7106 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-27 23:01:54 +00:00
alex
c39611bbe9 Martin Olschewski <olschewski@zpr.uni-koeln.de>: [PATCH] ai_oss.c should check for USE_OSS_AUDIO
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7092 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-26 17:20:17 +00:00
arpi
a72f18f463 some files has some shit before teh audio/video headers...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7086 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-25 00:07:15 +00:00
arpi
dae101726e 10l - fixed chunktab size calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7085 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-24 23:07:34 +00:00
arpi
17b7e7153b - changed re-muxed packet structure (see struct dp_hdr_t)
now the packets can be encapsulated into avi or other file formats
- skip redundant/resent fragments (bit 0x20 set of first byte of frag)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7082 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-24 22:39:27 +00:00
arpi
177d2185e9 v4l capture update by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
some silly bugs slipped through.. here is the fix


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7071 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 23:05:58 +00:00
jaf
ffc97efcb7 fix ai_oss.c compilation on non linux systems - by Bernd Ernesti <mplayer@lists.veego.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7067 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-22 08:05:27 +00:00
arpi
6c724895d6 new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
- multithreaded audio/video buffering (I know mplayer crew hates threads
  but it seems to me as the only way of doing reliable a/v capture)
- a/v timebase synchronization (sample count vs. gettimeofday)
- "immediate" mode support for mplayer
- fixed colorspace stuff - RGB?? and YUY2 modes now work as expected
- native ALSA audio capture
- separated audio input layer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7061 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-21 22:50:40 +00:00
arpi
a5bd36cf4b new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
- multithreaded audio/video buffering (I know mplayer crew hates threads
  but it seems to me as the only way of doing reliable a/v capture)
- a/v timebase synchronization (sample count vs. gettimeofday)
- "immediate" mode support for mplayer
- fixed colorspace stuff - RGB?? and YUY2 modes now work as expected
- native ALSA audio capture
- separated audio input layer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7059 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-21 21:31:20 +00:00
arpi
e916844206 ogg (.ogm) text subtitles support
based on patch by Chris Forno <jcore@m-net.arbornet.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7011 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 23:41:19 +00:00
arpi
d2673b6e3b - Create and set up a "BITMAPINFOHEADER" and "WAVEFORMATEX" structure for
video and audio (respectively) RTP streams.  (This allows RTP streams that
  use non MPEG codecs to work.)
patch by Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7009 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:56:31 +00:00
arpi
4fe4fbd1d0 typo fixes by Ross Finlayson <finlayson@live.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7008 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:55:48 +00:00
arpi
5aff974339 disable cache if stream->fd<0 (no regular file/pipe but some special thing)
Ross Finlayson <finlayson@live.com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7007 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:46:48 +00:00
arpi
99d4526691 corrects an off-by-one error when trying to seek beyond the end of file.
patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7003 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:25:01 +00:00
arpi
2d55a9e67c RV20 A-V desync fixed - use timestamp hack only for RV30
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6996 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 09:15:31 +00:00
arpi
3388a619db RV40 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6983 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-12 00:04:37 +00:00
jaf
161b6c9b49 messages moved again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6952 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-08 13:55:15 +00:00
arpi
3623d8b5af 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6944 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-06 22:01:45 +00:00
arpi
77d0b6c3f4 detection reordered. note: raw DV detection should be more reliable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6943 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-06 21:21:14 +00:00
arpi
305cbfe923 allow early exit from esds parsing, so decoder info (type & bitrate) are
available even if no codec-specific data or other extras found


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6930 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 18:22:51 +00:00
arpi
4831d9f8ad support for .mp4 with .mp3 audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6929 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 18:22:14 +00:00
arpi
4aed347e68 raw .dv stream demuxer by Alexander Neundorf <neundorf@kde.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6926 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 17:21:35 +00:00
arpi
a047181b33 PPC endianess fix by Colin Leroy <colin@colino.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6919 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 11:26:26 +00:00
arpi
148c410cc5 fixed 'eof at 66s' bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6917 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 03:13:45 +00:00
arpi
fa788640e2 applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
see <http://www.live.com/mplayer/> for details.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-05 00:39:07 +00:00
arpi
ae0d40780a 10000l - didn't clear new stream struct, causing possible sig11 in cache layer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6893 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-04 13:35:25 +00:00
arpi
e283ac5c3c detection of badly interleaved avi files and auto-switch to -ni
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6885 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-04 01:48:35 +00:00
arpi
a2e04f472f new_demux_packet: allocate 8 bytes too much
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6884 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-04 00:15:58 +00:00
arpi
26398539cb count blocks by rounded-up chunksizes instead of chunks -
we need full emulation of dshow avi demuxer bugs :(
fixes silly nandub-style a-v delaying in avi with vbr mp3...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6872 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-02 17:44:16 +00:00
arpi
1459cf6296 skip 'pnot' and 'PICT' - fixes incoming/1.mov
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6866 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-01 21:16:57 +00:00
arpi
6b3417b657 There appears to be a trivial namespace error in determining the valid
chapter range.  It appears that "dvd_title" should be used with
tt_srpt->title[], and "ttn-1" should be used with
vts_file->vts_ptt_srpt->title[].
patch by Dave Sainty <dave@dtsp.co.nz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6854 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-30 19:19:16 +00:00
arpi
db09e34cf8 ogm audio format id is in hex, not dec
patch by Moritz Bunkus <moritz@bunkus.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6851 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-30 18:14:02 +00:00
albeu
419943f3c7 Add uninit to the avi demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6817 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-26 12:36:13 +00:00
atmos4
1036563da9 warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6815 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-26 04:04:51 +00:00
albeu
c46636cafb 10L free the cache
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6811 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-26 02:32:41 +00:00
arpi
fd031ad208 codmetics :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6792 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-25 16:39:22 +00:00