aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/demux_ts.c
Commit message (Collapse)AuthorAge
* support for dts (identified only by the PMT, not from the bitstream)Gravatar nicodvb2006-06-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18566 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed wrong assignment of stream type in generic PES_PRIVATE1 streams ↵Gravatar nicodvb2006-06-04
| | | | | | (didn't respect the type qualified in the PMT) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18565 b3059339-0415-0410-9bf9-f77b7e298cf2
* one more a52 descriptor (dvb impl., untested)Gravatar nicodvb2006-06-04
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18564 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential integer overflows in memory allocation.Gravatar rtogni2006-06-04
| | | | | | | Patch by Rich and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18559 b3059339-0415-0410-9bf9-f77b7e298cf2
* where necesary, replaced all realloc() with realloc_struct() to prevent int ↵Gravatar nicodvb2006-05-13
| | | | | | oveflows git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18476 b3059339-0415-0410-9bf9-f77b7e298cf2
* when searching ac3 in unqualified pes_private1 streams there's no need to ↵Gravatar nicodvb2006-05-13
| | | | | | scan > 64 KB of data: frames can't be so far apart git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18475 b3059339-0415-0410-9bf9-f77b7e298cf2
* allocate correct extradata sizeGravatar nicodvb2006-05-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18465 b3059339-0415-0410-9bf9-f77b7e298cf2
* raised max extradata size and refuse to store more than the limitGravatar nicodvb2006-05-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18463 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't allocate (and demux_push() immediately) demux_packet()s > ↵Gravatar nicodvb2006-05-12
| | | | | | MAX_PACK_SIZE; releasing immediately audio packets (before the pes is complete) doesn't make any sense and deteriorates interleaving git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18462 b3059339-0415-0410-9bf9-f77b7e298cf2
* search ac3 in dvd substream only if pes_aligned flag is set in the pes ↵Gravatar nicodvb2006-05-12
| | | | | | headers, otherwise false positives are likely to occur git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18461 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get ride of the several if(identify) messy lines and rearangment of some of ↵Gravatar reynaldo2006-04-24
| | | | | | the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18238 b3059339-0415-0410-9bf9-f77b7e298cf2
* segfault fix: assign param->apid (that is the audio id found) when ↵Gravatar nicodvb2006-04-05
| | | | | | inexistent audio language is specified; patch by Erik Auerswald auerswal a unix-ag d uni-kl d de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18044 b3059339-0415-0410-9bf9-f77b7e298cf2
* init variable in parse_mp4_object_descriptor before using it; fixes cid 237Gravatar nicodvb2006-03-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17817 b3059339-0415-0410-9bf9-f77b7e298cf2
* print ts_probe; 0x88 .. 0x8F in pes_private streams are not AC3 but DTS ↵Gravatar nicodvb2006-03-04
| | | | | | tracks (unsupported); save the size of the payload of the current PES packet in any case (used for ac3 detection) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17725 b3059339-0415-0410-9bf9-f77b7e298cf2
* Second-try commit of this patch.Gravatar corey2006-02-17
| | | | | | | | | | | | 1. Include audio_delay as an argument to demux_seek. 2. Modify demux_seek_avi to adjust the audio/video stream positions so that mplayer/mencoder will instantly be in sync even when -delay is specified. I've quadruple checked this time; hopefully I haven't missed anything. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse commit of unfinished patch for passing audio_delay to the demuxers.Gravatar corey2006-02-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17570 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1. Include audio_delay as an argument to demux_seek.Gravatar corey2006-02-07
| | | | | | | | | | | 2. Modify demux_seek_avi to adjust the audio/video stream positions so that mplayer/mencoder will instantly be in sync even when -delay is specified. Other demuxers could be modified similarly in the future. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17554 b3059339-0415-0410-9bf9-f77b7e298cf2
* export custom mp_a52_framesize(), needed to parse ac3 frames when liba52 is ↵Gravatar nicodvb2006-01-27
| | | | | | not present; will be moved in a more appropriate place sometimes in the future git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update licensing information: The FSF changed postal address.Gravatar diego2006-01-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.Gravatar diego2005-11-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed possible uint8 overflow; assign progid to the newly created pmtGravatar nicodvb2005-11-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16935 b3059339-0415-0410-9bf9-f77b7e298cf2
* more precise seeking based on calculated average video bitrate; works quite ↵Gravatar nicodvb2005-10-31
| | | | | | well in case of a TS with only 1 video stream git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16884 b3059339-0415-0410-9bf9-f77b7e298cf2
* move resync_audio_stream after seeking to demuxer.cGravatar reimar2005-10-30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use PRI?64 defines as format strings for 64 bit variables.Gravatar reimar2005-10-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16751 b3059339-0415-0410-9bf9-f77b7e298cf2
* Crash fix for: "[MPlayer-users] Crash of mencoder in demux_ts.c line 2728"Gravatar gpoirier2005-08-23
| | | | | | | | | "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 modularizationGravatar rtognimp2005-08-05
| | | | | | | 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 presentGravatar nicodvb2005-06-06
| | | | 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; ↵Gravatar nicodvb2005-04-09
| | | | | | 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 NicoGravatar rathann2005-04-08
| | | | 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 ↵Gravatar nicodvb2005-04-03
| | | | | | 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 operatorGravatar nicodvb2005-03-23
| | | | 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 ↵Gravatar nicodvb2005-03-23
| | | | | | 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 ↵Gravatar nicodvb2005-03-22
| | | | | | 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 ↵Gravatar nicodvb2005-03-20
| | | | | | 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 ↵Gravatar nicodvb2005-02-25
| | | | | | conditions git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14826 b3059339-0415-0410-9bf9-f77b7e298cf2
* replaced bzero() with memset(); stream_type 0x0f is AACGravatar nicodvb2005-01-22
| | | | 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 ↵Gravatar mosu2004-11-25
| | | | | | -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 TSGravatar nicodvb2004-11-24
| | | | 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 ↵Gravatar nicodvb2004-11-20
| | | | | | 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 phaseGravatar nicodvb2004-11-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13958 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed dependency on liba52Gravatar nicodvb2004-10-11
| | | | 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 ↵Gravatar nicodvb2004-10-07
| | | | | | 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) ↵Gravatar reimar2004-10-07
| | | | | | mozdev (dot) org), see also bug #102 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13580 b3059339-0415-0410-9bf9-f77b7e298cf2
* small fixesGravatar rathann2004-08-28
| | | | 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 ↵Gravatar nicodvb2004-06-18
| | | | | | 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 ↵Gravatar nicodvb2004-05-31
| | | | | | 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 ↵Gravatar nicodvb2004-03-20
| | | | | | 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).Gravatar rathann2003-11-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11413 b3059339-0415-0410-9bf9-f77b7e298cf2
* big demux_ts fix from Nico <nsabbi@libero.it>Gravatar attila2003-10-20
| | | | 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 ↵Gravatar mosu2003-09-08
| | | | | | Arpi. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10842 b3059339-0415-0410-9bf9-f77b7e298cf2