summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_ts.c
Commit message (Collapse)AuthorAgeFilesLines
* Crash fix for: "[MPlayer-users] Crash of mencoder in demux_ts.c line 2728"gpoirier2005-08-231-0/+3
| | | | | | | | | "The code which crashes looks like its trying to parse the subtitle stream, and failing, I assume because dvbsub_lang is a invalid pointer, or null." Patch by Nico Sabi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16293 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationrtognimp2005-08-051-7/+27
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass along audio extradata if presentnicodvb2005-06-061-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15670 b3059339-0415-0410-9bf9-f77b7e298cf2
* set width, height and biCompression when the video stream contains avc1; ↵nicodvb2005-04-091-13/+65
| | | | | | reuse a private member rather than a in-stack packet[204]; set pes_es->is_synced =1 when au_start=1 (SL); update PMT when setting mp4es codec (SL); fix tss->is_synced assignment (don't forget the value when it was previously set) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15076 b3059339-0415-0410-9bf9-f77b7e298cf2
* obvious gcc warning fix, approved by Nicorathann2005-04-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15068 b3059339-0415-0410-9bf9-f77b7e298cf2
* allocate and fill extradata field for video_avc (raw nal units, extradata ↵nicodvb2005-04-031-52/+149
| | | | | | contains sps+pps); fixed payload_size assignment for SL payloads git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15046 b3059339-0415-0410-9bf9-f77b7e298cf2
* wrong binary operatornicodvb2005-03-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14994 b3059339-0415-0410-9bf9-f77b7e298cf2
* consider parse random_access_point from the adaption_field to determine if ↵nicodvb2005-03-231-28/+25
| | | | | | the payload is an access point (for SL) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14993 b3059339-0415-0410-9bf9-f77b7e298cf2
* SL payloads are pushed to audio and video fifo only when they are flagged ↵nicodvb2005-03-221-7/+27
| | | | | | with random_accesspoint or access_unit_start git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14982 b3059339-0415-0410-9bf9-f77b7e298cf2
* initial support for SL packetized data, with certain limitations; partly ↵nicodvb2005-03-201-177/+829
| | | | | | reworked the tables management for a better code reuse git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14969 b3059339-0415-0410-9bf9-f77b7e298cf2
* 50000l: fixed various memleaks; CC discontibuities aren't necessarily error ↵nicodvb2005-02-251-16/+35
| | | | | | conditions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14826 b3059339-0415-0410-9bf9-f77b7e298cf2
* replaced bzero() with memset(); stream_type 0x0f is AACnicodvb2005-01-221-13/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14572 b3059339-0415-0410-9bf9-f77b7e298cf2
* Output more information about vids, aids, sids, alangs and slangs with ↵mosu2004-11-251-0/+16
| | | | | | -identify. Patch by kiriuja <mplayer-patches@en-directo.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14047 b3059339-0415-0410-9bf9-f77b7e298cf2
* merged DEMUXER_TYPE_MPEG4_ES in the ordinary TS; added support for H264 in TSnicodvb2004-11-241-7/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14035 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for 192 packet size, remove junk data after 188 bytes. Patch ↵nicodvb2004-11-201-10/+28
| | | | | | by Marcus Metzler (mocm@mocm.de) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13995 b3059339-0415-0410-9bf9-f77b7e298cf2
* added language identifier (if any) to the caller during probing phasenicodvb2004-11-151-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13958 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed dependency on liba52nicodvb2004-10-111-7/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13609 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed a bug that makes the demuxer loop forever probing a52 audio when ↵nicodvb2004-10-071-0/+2
| | | | | | a52_syncinfo() returns 0 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13582 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing --disable for mp3lib, liba52 and libmpeg2, patch by (basic (at) ↵reimar2004-10-071-0/+4
| | | | | | mozdev (dot) org), see also bug #102 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13580 b3059339-0415-0410-9bf9-f77b7e298cf2
* small fixesrathann2004-08-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13188 b3059339-0415-0410-9bf9-f77b7e298cf2
* added support for ac3 in non-pes aligned private1 streams; removed useless ↵nicodvb2004-06-181-71/+131
| | | | | | and commented code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12613 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused and commented code; audio is pushed synchronously (reported ↵nicodvb2004-05-311-26/+18
| | | | | | to work better); pid 16 is not default PMT (100l); trails of data are add_packet()ed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12519 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix wrong detection of mpeg4 as mpeg2 and wrong handling of ↵nicodvb2004-03-201-21/+35
| | | | | | discontinuities/transport error bit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12050 b3059339-0415-0410-9bf9-f77b7e298cf2
* Warning fixes (approved by A'rpi).rathann2003-11-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
* big demux_ts fix from Nico <nsabbi@libero.it>attila2003-10-201-316/+715
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11191 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a gcc 3.x crash when compiling demux_ts.c with -g -O4 (or -O3). Patch by ↵mosu2003-09-081-1/+1
| | | | | | Arpi. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10842 b3059339-0415-0410-9bf9-f77b7e298cf2
* serious bugs - 1l absinth (changed to absinth against cola inflation)alex2003-08-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10736 b3059339-0415-0410-9bf9-f77b7e298cf2
* - seek() is always synchronized to keyframes, so the decoders don'tarpi2003-08-241-160/+981
| | | | | | | | | | | | | | | | | crash anymore; successfully tested with libmpeg2 and ffmpeg12 - support for tables PAT and PMT, used the associate pids to program and to play the right streams - option -tsprog <number> to specify the chosen program (-vid and -aid still override the single stream pids) - initial support for MPEG4 in TS (M4V is working, but not AAC yet) - defragmenting mechanism (without buffering, so it has 0 added cost) to improve the playback of high bitrate movies - refers to demux_mpg_control() to get length and percentage position in the stream patch by Nico <nsabbi@libero.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10687 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix one missing #include, one missing extern and one 10l error.rathann2003-06-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10311 b3059339-0415-0410-9bf9-f77b7e298cf2
* - discard soon non TS files (previously it took too long, as in the casearpi2003-06-081-19/+41
| | | | | | | | | | of mpeg-ps files without a registered extension) - detect sooner audio-only files (at least 64K of the chosen audio streams without a video stream) patch by Nico <nsabbi@libero.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10260 b3059339-0415-0410-9bf9-f77b7e298cf2
* - open new_ds_[audio | video] only when the relative streams are really ↵arpi2003-06-071-598/+632
| | | | | | | | | | | | | | | | | | available - consequently, -nosound now works - simplified the feeding (to ds_) function - eliminated the previous buffering of ES data (so it should be a little faster) - discard junk ES data after payload_size for the current pes packet is 0 - reduced the probe buffer - better support for audio only TS (DAB seems to have many fans) - fixes the wrong spacing (now fixed at 8 chars) - makes static all the functions that are not exported - comments the unused code that I could need in the future patch by Nico <nsabbi@libero.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10254 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominikalex2003-06-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10243 b3059339-0415-0410-9bf9-f77b7e298cf2
* fully reworked by Nico <nsabbi@libero.it>alex2003-04-281-245/+216
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10015 b3059339-0415-0410-9bf9-f77b7e298cf2
* wrong assignment of codec, patch by nsabbi@libero.italex2003-03-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9639 b3059339-0415-0410-9bf9-f77b7e298cf2
* this is a combo patch that:arpi2003-03-161-0/+903
1) adds an experimental TS demuxer to mplayer 2) adds an input (streaming) interface from DVB cards. It compiles and runs with the following versions of the drivers: dvb-kernel (HEAD) (with stock kernel 2.4.20) and 0.9.4 (with kernel 2.4.18) patch by Nico <nsabbi@libero.it> some cleanups, ts demuxer fixes by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9611 b3059339-0415-0410-9bf9-f77b7e298cf2