summaryrefslogtreecommitdiffstats
path: root/libmpdemux
Commit message (Collapse)AuthorAgeFilesLines
* Fixed more potential mem leaks and use the url_free methodbertrand2002-10-191-3/+8
| | | | | | | to free all the member pointers of the url. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7810 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed the messalex2002-10-191-56/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7808 b3059339-0415-0410-9bf9-f77b7e298cf2
* set position in channel list on startup. note: hope one day we will get ↵alex2002-10-191-2/+30
| | | | | | cleaned the int->float->int sutff ;) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7807 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stop grabbing from v4l when paused by Jindrich Makovickaalex2002-10-191-22/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7804 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix & workaround possible sig8/sig11 in blocksize calculationarpi2002-10-171-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7786 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix bih->biSize for uncompressed files tooarpi2002-10-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7785 b3059339-0415-0410-9bf9-f77b7e298cf2
* fill the extra bytes with zeroarpi2002-10-171-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7777 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l - do not read INDEX twice!!!arpi2002-10-161-4/+6
| | | | | | | list index even if generated by mplayer (verbose>=2) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7763 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleaksarpi2002-10-161-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7762 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleak fixarpi2002-10-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7761 b3059339-0415-0410-9bf9-f77b7e298cf2
* memleak fix (found by valgrind)arpi2002-10-161-4/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7760 b3059339-0415-0410-9bf9-f77b7e298cf2
* ss_div/ss_mul defaults to 0arpi2002-10-162-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7755 b3059339-0415-0410-9bf9-f77b7e298cf2
* use standard gsm fourcc 'agsm' instead of msgsm id 0x31arpi2002-10-161-1/+1
| | | | | | | patch by Ross git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7751 b3059339-0415-0410-9bf9-f77b7e298cf2
* ds_tell_block()arpi2002-10-161-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't start a CDDB request to the CDDB server if there is no CD in the drive,bertrand2002-10-161-8/+20
| | | | | | | plus some compilation warning fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7747 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fps autodetectionarpi2002-10-131-0/+5
| | | | | | | patch by Ross Finlayson <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7731 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create the ~/.cddb directory if not present.bertrand2002-10-131-5/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7722 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream selection cleanup, fixed -nosoundarpi2002-10-101-111/+71
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7711 b3059339-0415-0410-9bf9-f77b7e298cf2
* -nosound fixarpi2002-10-081-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7674 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed LPCM parsingarpi2002-10-081-18/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7672 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for RTSP stream over TCP.bertrand2002-10-081-1/+8
| | | | | | | Patch from Ross Finlayson <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7665 b3059339-0415-0410-9bf9-f77b7e298cf2
* * Fix for the broken MultiDec files I had originally posted with thearpi2002-10-071-61/+163
| | | | | | | | | | | | | | | | | 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
* BE_16/BE_32 macro was accessing integers from unaligned addresses on SPARCjkeil2002-10-071-11/+9
| | | | | | | char2short/char2int broken on BIGENDIAN git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7655 b3059339-0415-0410-9bf9-f77b7e298cf2
* smb:// (samba client) support by Vladimir Moushkov <vlindos_mpdev@abv.bg>arpi2002-10-063-0/+97
| | | | | | | TODO: add libsmb* detection and #define LIBSMBCLIENT to ./configure ! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7631 b3059339-0415-0410-9bf9-f77b7e298cf2
* aufio filter layer (libaf) integration to libmpcodecs, mplayer and mencoderarpi2002-10-051-3/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7605 b3059339-0415-0410-9bf9-f77b7e298cf2
* This just corrects a function name to match the other demuxer'sarpi2002-10-042-4/+7
| | | | | | | | | "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
* this patch adds an ability to recover from audio buffer cross-run by ↵alex2002-10-023-7/+98
| | | | | | Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7587 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanups for video_grabber() which fix a race condition by Jindrich ↵alex2002-10-021-21/+25
| | | | | | Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7586 b3059339-0415-0410-9bf9-f77b7e298cf2
* this patch adds an ability to recover from audio buffer cross-run by ↵alex2002-10-021-0/+1
| | | | | | Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7585 b3059339-0415-0410-9bf9-f77b7e298cf2
* rv10 cleanupmichael2002-10-011-25/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7574 b3059339-0415-0410-9bf9-f77b7e298cf2
* - demuxer->audio->id is set to -2 when using 'frameno.avi', soarpi2002-09-301-4/+14
| | | | | | | | | | | 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
* some cleanup - made private vars/funcs static, removed obsolete externsarpi2002-09-293-7/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7560 b3059339-0415-0410-9bf9-f77b7e298cf2
* passthrough timestamps to demuxerarpi2002-09-281-2/+29
| | | | | | | patch by Ross Finlayson <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7535 b3059339-0415-0410-9bf9-f77b7e298cf2
* complex patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>alex2002-09-281-69/+92
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7533 b3059339-0415-0410-9bf9-f77b7e298cf2
* btaudio driver support by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>alex2002-09-281-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7529 b3059339-0415-0410-9bf9-f77b7e298cf2
* dump processed edit list dataarpi2002-09-271-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Display the IP address that has been resolved.bertrand2002-09-271-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7514 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed invalid -aid/-vid segfaultarpi2002-09-251-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7502 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed 'detected fileformat' messages to a message with %sjaf2002-09-221-18/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7483 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix nick of sbmpostlgb2002-09-221-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7477 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugarpi2002-09-2215-49/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* wine headers cleanuparpi2002-09-222-5/+38
| | | | | | | | | - 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
* get_sh_audio/get_sh_video removed (never used, also useless)arpi2002-09-221-22/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7470 b3059339-0415-0410-9bf9-f77b7e298cf2
* - cosmetics, reorderarpi2002-09-211-31/+30
| | | | | | | - 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
* we don't need the 0x1ff hack any more!arpi2002-09-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7466 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix segmentation fault with -dvdkey, fix return value of ↵lgb2002-09-212-29/+63
| | | | | | 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
* fixing edit-list playback (it uses the mvhd-timescale instead of the mdhd-one)arpi2002-09-181-4/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7442 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added the cdinfo.c for compilation.bertrand2002-09-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable CDDB support only if the network layer is enabled.bertrand2002-09-171-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7433 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved all the cdinfo specific from cddb to a standalone file(cdinfo.c), sobertrand2002-09-171-116/+1
| | | | | | | if no network, cdda can still be compiled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7432 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved all the cdinfo specific from cddb to a standalone file, sobertrand2002-09-171-0/+136
| | | | | | | if no network, cdda can still be compiled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7431 b3059339-0415-0410-9bf9-f77b7e298cf2
* hpux DVD support fixes by Martin Gansser <mgansser@ngi.de>arpi2002-09-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7424 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed dummy OGG functions - use #ifdef insteadarpi2002-09-152-24/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7414 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cosmetics - reordering declarations, 10l for cache2arpi2002-09-151-8/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7413 b3059339-0415-0410-9bf9-f77b7e298cf2
* stream layer cleanup part 2arpi2002-09-154-48/+22
| | | | | | | 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
* stream layer cleanup - part 1arpi2002-09-156-60/+47
| | | | | | | | 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
* removed obsolete VCD_CACHE hackarpi2002-09-156-173/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7407 b3059339-0415-0410-9bf9-f77b7e298cf2
* The granule position of pages contining Vorbis audio is in units ofarpi2002-09-141-2/+2
| | | | | | | | | 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
* Added a new ASX playlist mime-typebertrand2002-09-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7394 b3059339-0415-0410-9bf9-f77b7e298cf2
* added smjpeg demuxer only for nexus' requestalex2002-09-134-1/+198
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7383 b3059339-0415-0410-9bf9-f77b7e298cf2
* .PVA (mpeg-like fileformat used by MultiDec && WinTV) demuxerarpi2002-09-105-4/+444
| | | | | | | 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
* TGA images (-mf on:type=tga) supportarpi2002-09-101-2/+4
| | | | | | | patch by Tilman Sauerbeck <tsauerbeck@users.sourceforge.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7363 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed >2GB files demuxingarpi2002-09-101-4/+4
| | | | | | | patch by Ilkka Forsblom <Ilkka.Forsblom@helsinki.fi> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7362 b3059339-0415-0410-9bf9-f77b7e298cf2
* Applied patch from Gregory Kovriga <gkovriga@techunix.technion.ac.il>bertrand2002-09-091-0/+5
| | | | | | | - 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
* removed messy global 'tv_handle', use stream->priv for that purposearpi2002-09-084-17/+23
| | | | | | | | 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
* fixed get_format/set_formatalex2002-09-081-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7320 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed message leveles (too many non-sense info messages)alex2002-09-082-20/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7319 b3059339-0415-0410-9bf9-f77b7e298cf2
* tuner setting isn't mandatory. requested by Jonas Munsin <jmunsin@iki.fi> ↵alex2002-09-081-3/+3
| | | | | | for webcams git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7318 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't try to reread from the socket if the server says EOFbertrand2002-09-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7311 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed an unknown command. Looks like it's a new command from WMS9.bertrand2002-09-071-3/+10
| | | | | | | Changed all the exit by return -1 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7310 b3059339-0415-0410-9bf9-f77b7e298cf2
* removes old input code (forgot to commit this)alex2002-09-071-12/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7309 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check if realloc failed on http_hdr->buffer instead of ptr in ↵bertrand2002-09-071-2/+2
| | | | | | | | | 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
* typo (checking for mpeg twice, instead of mpeg & MPEG)michael2002-09-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7303 b3059339-0415-0410-9bf9-f77b7e298cf2
* SPARC gcc generates bad code accessing an unaligned and packed structure memberjkeil2002-09-061-0/+15
| | | | | | | | | | (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
* - simpler http_response_append (uses realloc())arpi2002-09-061-16/+8
| | | | | | | | | | - 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/