Baptiste Coudurier
14120c95f0
set pts and dts when only pts is present, according to specs
...
Originally committed as revision 16734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 22:16:31 +00:00
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Diego Biurrun
6a5d31ac25
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
...
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:19:48 +00:00
Måns Rullgård
8c39a7582d
mpegts: replace Program_t typedef with "struct Program"
...
Originally committed as revision 16086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 00:04:34 +00:00
Diego Biurrun
ecfb51d1c2
Add necessary header for av_set_program_name and av_program_add_stream_index.
...
Originally committed as revision 15996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 23:04:30 +00:00
Diego Biurrun
bad4063740
Move declaration of av_set_program_name and av_program_add_stream_index
...
to a more sensible place.
Originally committed as revision 15991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 16:47:07 +00:00
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
Diego Biurrun
910f02a054
spelling cosmetics
...
Originally committed as revision 15518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 16:28:58 +00:00
Diego Pettenò
fb65d2ca84
Use enum typers instead of int.
...
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail
Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 16:03:00 +00:00
Michael Niedermayer
ff9c8d7c6f
Add flag to mark demuxers that can output discontinuous timestamps.
...
(could also be added to muxers if someone wants)
Originally committed as revision 14777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15 16:13:05 +00:00
Anuradha Suraparaju
f4bba2015a
Dirac encapsulation in MPEG-TS
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 14734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-13 19:29:35 +00:00
Michael Niedermayer
452a398fd6
Fix misdetection of H.264 in mpegts as mpeg1video in mpegts.
...
Fixes maybeH264_dumpstream
Originally committed as revision 14445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-27 23:06:22 +00:00
Måns Rullgård
c6002ea14d
MPEGTS: Improve probe function
...
When a sync byte is found, check that transport_error_indicator is zero,
and adaptation_field_control is valid (non-zero).
Originally committed as revision 14274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 01:07:17 +00:00
Erik Hovland
72e043dd0f
One-bit bitfields should probably be unsigned. Unfortunately, it is left
...
up to the compiler on how one bit fields are treated. gcc treats one-bit
bitfields as signed and allows for the -funsigned-field parameter. Other
compilers (like Sun C) treat one-bit bitfields as unsigned no matter what.
Patch by Erik Hovland erik hovland org
Originally committed as revision 14131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 23:20:22 +00:00
Baptiste Coudurier
ade8d8b939
uniformize AVStream->priv_data freeing in av_close_input_stream
...
Originally committed as revision 13838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-20 17:22:56 +00:00
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 16:20:54 +00:00
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Michael Niedermayer
81d5ae6dec
Fixing memleaks.
...
Originally committed as revision 12943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 22:16:00 +00:00
Michael Niedermayer
5fd63f3c3b
Ensure that the timestamp reading code used for seeking chooses a position
...
which is a multiple of the packet size from the last packet start instead
of the file start. This fixes some seek issues with randomly cut ts files
and the mysterious "4 byte PCR somehing MTS something bug".
Originally committed as revision 12932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-23 21:16:25 +00:00
Michael Niedermayer
056f6b8f09
Using the same probe function in 2 formats is not a good idea.
...
Originally committed as revision 12836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15 13:48:46 +00:00
Nico Sabbi
a45b40c496
treat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR with the value HDMV; approved by Mans
...
Originally committed as revision 12180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-23 10:57:38 +00:00
Aurelien Jacobs
3abe5fbdc4
improve CRC API
...
- don't export any global var
- provide either generated or hardcoded tables
Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Jeff Downs
28af284cfb
When new streams are detected, look for old filters and close them out.
...
This avoids crashes seen when legitimate streams are found on PID 0x11 instead
of DVB SDT.
Fixes regression detailed in Roundup issue 138.
Originally committed as revision 11050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-17 03:14:43 +00:00
Nico Sabbi
aa237f4535
associate to each AVProgram the indexes of the AVStreams contained in it
...
Originally committed as revision 10820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 08:29:05 +00:00
Nico Sabbi
172d1171d2
added structures and code to keep track of pids<->programs mapping: it's needed
...
to decide which pids to discard in order to feed to the caller only AVProgram(s)
that have the AV_DISCARD_ALL flag not set
Originally committed as revision 10581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 20:58:37 +00:00
Nico Sabbi
1d257254f1
replaced custom tracking of programs/services with calls to with av_new_program()
...
Originally committed as revision 10580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 20:49:11 +00:00
Aurelien Jacobs
6369638bf0
loosen dependencies over allformats.h
...
Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 23:00:44 +00:00
Panagiotis Issaris
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
...
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19 15:23:32 +00:00
Alex Beregszaszi
5b83843f43
fix compilation with assert
...
Originally committed as revision 9619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-13 00:49:40 +00:00
Måns Rullgård
b474d1f3fa
update SectionCallback and PESCallback typedefs to match functions
...
Originally committed as revision 9542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-08 13:42:51 +00:00
Ronald S. Bultje
80fb82346e
Use AV_RB* macros where appropriate.
...
patch by Ronald S. Bultje, rsbultje gmail com
thread: Re: [FFmpeg-devel] remove int readers
date: Sat, 23 Jun 2007 09:32:12 -0400
Originally committed as revision 9499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-06 09:32:34 +00:00
Michael Niedermayer
b3e104366a
simplify
...
Originally committed as revision 9258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:34:37 +00:00
Michael Niedermayer
2bb486a5e6
remove now unused "global" pcr_pid
...
Originally committed as revision 9257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:26:05 +00:00
Michael Niedermayer
dbf6b678fc
proper per stream pcr_pid support by (Wolfram Gloger wmglo dent.med.uni-muenchen@de )
...
Originally committed as revision 9256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-08 17:21:29 +00:00
Michael Niedermayer
e39291dfcf
partially revert r2931 (Support raw mpegts streams from dvr)
...
the change was wrong
Originally committed as revision 9219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 22:23:05 +00:00
Michael Niedermayer
04ec18b8b3
harmless typo
...
Originally committed as revision 9210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:54:33 +00:00
Michael Niedermayer
28f03d0494
fix indention
...
Originally committed as revision 9209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:53:47 +00:00
Michael Niedermayer
ad39abcdd9
remove duplicate PAT scaning code and actual PAT scan
...
also disabling the nonsense 3yr old rawts change (it would after the
above chage totally break the demuxer if its left enabled)
Originally committed as revision 9208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:44:52 +00:00
Michael Niedermayer
4dc8a963d1
unused variables
...
Originally committed as revision 9207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:20:07 +00:00
Michael Niedermayer
90d13e30d5
dont rescan for information on each pid, but rather do it just once by
...
opening 1 filter for each at the same time
Originally committed as revision 9206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:17:43 +00:00
Michael Niedermayer
ecc31d1d8e
move structs and enums to top of file so they can be used
...
Originally committed as revision 9205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 14:11:54 +00:00
Michael Niedermayer
4d9a577e30
passing MpegTSFilter to the filters instead of a random void *opaque
...
code is simler and the filters now know the pid they are filtering so one
filter callback can be used with more then one pid at the same time
Originally committed as revision 9204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 13:57:00 +00:00
Michael Niedermayer
37dfd6333d
do not perform SDT scan at the begin (this avoids a timeconsuming search for
...
optional info) instead fill SDT info in and update it as we stumble across it
Originally committed as revision 9201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 12:19:38 +00:00
Michael Niedermayer
657ced8cdb
make new_service() update existing info sanely
...
Originally committed as revision 9200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:46:59 +00:00
Michael Niedermayer
0618bb1c5b
remove fake service/provider names used for PAT
...
this allows us to distingush if the info came from SDT or PAT and will
allow to dyamically fill info in ...
Originally committed as revision 9199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 11:25:33 +00:00
Benoit Fouet
a45ec41409
Indentation
...
Originally committed as revision 9197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-04 08:53:08 +00:00
Michael Niedermayer
b91811af83
get rid of if(1)
...
Originally committed as revision 9179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 23:14:38 +00:00
Michael Niedermayer
9deb6d71b8
get rid of one layer of callback obfuscation
...
Originally committed as revision 9178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-02 23:11:17 +00:00