]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
16 years agoIndentation
conrad [Wed, 5 Sep 2007 00:26:03 +0000 (00:26 +0000)]
Indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10384 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoDon't seek when streamed
conrad [Wed, 5 Sep 2007 00:26:00 +0000 (00:26 +0000)]
Don't seek when streamed

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10383 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoGet rid of useless braces
conrad [Wed, 5 Sep 2007 00:25:58 +0000 (00:25 +0000)]
Get rid of useless braces

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10382 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoIndent
conrad [Wed, 5 Sep 2007 00:25:56 +0000 (00:25 +0000)]
Indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10381 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMatch the behaviour betwen the bmp and wav codec tag lookups
conrad [Wed, 5 Sep 2007 00:25:54 +0000 (00:25 +0000)]
Match the behaviour betwen the bmp and wav codec tag lookups

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10380 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite codecprivate to a dynamic buffer so that seeking isn't required
conrad [Wed, 5 Sep 2007 00:25:52 +0000 (00:25 +0000)]
Write codecprivate to a dynamic buffer so that seeking isn't required

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10379 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMove writing codec private element to its own function
conrad [Wed, 5 Sep 2007 00:25:49 +0000 (00:25 +0000)]
Move writing codec private element to its own function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10378 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCosmetics
conrad [Wed, 5 Sep 2007 00:25:46 +0000 (00:25 +0000)]
Cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10377 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoUse num_entries directly rather than mixing it with a local copy
conrad [Wed, 5 Sep 2007 00:25:44 +0000 (00:25 +0000)]
Use num_entries directly rather than mixing it with a local copy

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10376 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoDoxygenify comments
conrad [Wed, 5 Sep 2007 00:25:42 +0000 (00:25 +0000)]
Doxygenify comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10375 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMake sure that the calculated duration doesn't decrease
conrad [Wed, 5 Sep 2007 00:25:40 +0000 (00:25 +0000)]
Make sure that the calculated duration doesn't decrease

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10374 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSplit some really long lines
conrad [Wed, 5 Sep 2007 00:25:38 +0000 (00:25 +0000)]
Split some really long lines

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10373 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCorrect message
conrad [Wed, 5 Sep 2007 00:25:35 +0000 (00:25 +0000)]
Correct message

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10372 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoAlways check the return of mkv_add_seekhead_entry
conrad [Wed, 5 Sep 2007 00:25:34 +0000 (00:25 +0000)]
Always check the return of mkv_add_seekhead_entry

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10371 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoPass the returned error code of functions up
conrad [Wed, 5 Sep 2007 00:25:32 +0000 (00:25 +0000)]
Pass the returned error code of functions up

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10370 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCheck that the seekheads were created
conrad [Wed, 5 Sep 2007 00:25:29 +0000 (00:25 +0000)]
Check that the seekheads were created

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10369 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoReturn AVERROR(ENOMEM) when appropriate
conrad [Wed, 5 Sep 2007 00:25:27 +0000 (00:25 +0000)]
Return AVERROR(ENOMEM) when appropriate

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10368 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoIndentation
conrad [Wed, 5 Sep 2007 00:25:24 +0000 (00:25 +0000)]
Indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10367 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoUse assert for conditions that must be true
conrad [Wed, 5 Sep 2007 00:25:22 +0000 (00:25 +0000)]
Use assert for conditions that must be true

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10366 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSimplify
conrad [Wed, 5 Sep 2007 00:25:20 +0000 (00:25 +0000)]
Simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10365 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoGrammar nits
conrad [Wed, 5 Sep 2007 00:25:18 +0000 (00:25 +0000)]
Grammar nits

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10364 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoBreak long comments
conrad [Wed, 5 Sep 2007 00:25:16 +0000 (00:25 +0000)]
Break long comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10363 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoUse sample format for bit depth if av_get_bits_per_sample() doesn't give one
conrad [Wed, 5 Sep 2007 00:25:14 +0000 (00:25 +0000)]
Use sample format for bit depth if av_get_bits_per_sample() doesn't give one

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10362 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCalculate and store DAR rather than SAR
conrad [Wed, 5 Sep 2007 00:25:07 +0000 (00:25 +0000)]
Calculate and store DAR rather than SAR

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10361 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoClarify comments
conrad [Wed, 5 Sep 2007 00:25:04 +0000 (00:25 +0000)]
Clarify comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10360 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoUse PRIu64/PRId64
conrad [Wed, 5 Sep 2007 00:24:58 +0000 (00:24 +0000)]
Use PRIu64/PRId64

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10359 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCalculate the size of key EBML master elements beforehand so only just enough size...
conrad [Wed, 5 Sep 2007 00:24:56 +0000 (00:24 +0000)]
Calculate the size of key EBML master elements beforehand so only just enough size is reserved for the size

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10358 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoUse cluster_pos when checking cluster position
conrad [Wed, 5 Sep 2007 00:24:53 +0000 (00:24 +0000)]
Use cluster_pos when checking cluster position

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10357 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoModify put_ebml_size() so that the bytes parameter is exact rather than minimum
conrad [Wed, 5 Sep 2007 00:24:50 +0000 (00:24 +0000)]
Modify put_ebml_size() so that the bytes parameter is exact rather than minimum

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10356 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSet default subtitle_codec to CODEC_ID_TEXT
conrad [Wed, 5 Sep 2007 00:24:48 +0000 (00:24 +0000)]
Set default subtitle_codec to CODEC_ID_TEXT

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10355 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSimplify
conrad [Wed, 5 Sep 2007 00:24:44 +0000 (00:24 +0000)]
Simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10354 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMove calculating the bytes needed to represent a size in EBML to its own function
conrad [Wed, 5 Sep 2007 00:24:42 +0000 (00:24 +0000)]
Move calculating the bytes needed to represent a size in EBML to its own function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10353 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMake a byte always mean a byte
conrad [Wed, 5 Sep 2007 00:24:39 +0000 (00:24 +0000)]
Make a byte always mean a byte

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10352 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSimplify put_ebml_id()
conrad [Wed, 5 Sep 2007 00:24:36 +0000 (00:24 +0000)]
Simplify put_ebml_id()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMove ebml_id_size()
conrad [Wed, 5 Sep 2007 00:24:34 +0000 (00:24 +0000)]
Move ebml_id_size()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10350 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCorrect handling of smaller unknown sizes
conrad [Wed, 5 Sep 2007 00:24:31 +0000 (00:24 +0000)]
Correct handling of smaller unknown sizes

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10349 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoUse a MD5 hash of some frames to write the segment uid
conrad [Wed, 5 Sep 2007 00:24:29 +0000 (00:24 +0000)]
Use a MD5 hash of some frames to write the segment uid

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10348 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoRevert using the time to generate the segment uid
conrad [Wed, 5 Sep 2007 00:24:27 +0000 (00:24 +0000)]
Revert using the time to generate the segment uid

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10347 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoDoxygenize some comments
conrad [Wed, 5 Sep 2007 00:24:25 +0000 (00:24 +0000)]
Doxygenize some comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10346 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSet the language to undefined if no language specified
conrad [Wed, 5 Sep 2007 00:24:22 +0000 (00:24 +0000)]
Set the language to undefined if no language specified

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10345 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoAdd mka muxer
conrad [Wed, 5 Sep 2007 00:24:19 +0000 (00:24 +0000)]
Add mka muxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10344 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoAdd some debug logging
conrad [Wed, 5 Sep 2007 00:24:17 +0000 (00:24 +0000)]
Add some debug logging

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10343 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite the display size elements
conrad [Wed, 5 Sep 2007 00:24:15 +0000 (00:24 +0000)]
Write the display size elements

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10342 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoRevert writing the file creation date
conrad [Wed, 5 Sep 2007 00:24:12 +0000 (00:24 +0000)]
Revert writing the file creation date

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10341 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCodec Private should be correct for all but Real codecs now
conrad [Wed, 5 Sep 2007 00:24:10 +0000 (00:24 +0000)]
Codec Private should be correct for all but Real codecs now

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10340 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite FLAC codec private correctly
conrad [Wed, 5 Sep 2007 00:24:08 +0000 (00:24 +0000)]
Write FLAC codec private correctly

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10339 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMove writing Xiph-style sizes to its own function
conrad [Wed, 5 Sep 2007 00:24:06 +0000 (00:24 +0000)]
Move writing Xiph-style sizes to its own function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10338 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite segment UID
conrad [Wed, 5 Sep 2007 00:24:03 +0000 (00:24 +0000)]
Write segment UID

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10337 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite the creation time
conrad [Wed, 5 Sep 2007 00:24:01 +0000 (00:24 +0000)]
Write the creation time

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10336 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCosmetics
conrad [Wed, 5 Sep 2007 00:23:59 +0000 (00:23 +0000)]
Cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10335 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoUsing LIBAVFORMAT_IDENT for both muxing and writing app is good enough
conrad [Wed, 5 Sep 2007 00:23:57 +0000 (00:23 +0000)]
Using LIBAVFORMAT_IDENT for both muxing and writing app is good enough

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10334 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoFloats aren't used enough to justify writing any with single precision
conrad [Wed, 5 Sep 2007 00:23:55 +0000 (00:23 +0000)]
Floats aren't used enough to justify writing any with single precision

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10333 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSimplify
conrad [Wed, 5 Sep 2007 00:23:53 +0000 (00:23 +0000)]
Simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10332 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoIndentation
conrad [Wed, 5 Sep 2007 00:23:52 +0000 (00:23 +0000)]
Indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10331 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite subtitle tracks
conrad [Wed, 5 Sep 2007 00:23:49 +0000 (00:23 +0000)]
Write subtitle tracks

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10330 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMove writing a block to its own function
conrad [Wed, 5 Sep 2007 00:23:47 +0000 (00:23 +0000)]
Move writing a block to its own function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10329 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoOnly write extradata if it exists
conrad [Wed, 5 Sep 2007 00:23:46 +0000 (00:23 +0000)]
Only write extradata if it exists

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10328 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoDetermine the output sample rate for SBR AAC and write it
conrad [Wed, 5 Sep 2007 00:23:43 +0000 (00:23 +0000)]
Determine the output sample rate for SBR AAC and write it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10327 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSimplify
conrad [Wed, 5 Sep 2007 00:23:41 +0000 (00:23 +0000)]
Simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10326 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoKeyframe is the first bit not last
conrad [Wed, 5 Sep 2007 00:23:39 +0000 (00:23 +0000)]
Keyframe is the first bit not last

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10325 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSimplify
conrad [Wed, 5 Sep 2007 00:23:38 +0000 (00:23 +0000)]
Simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10324 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoUse av_get_bits_per_sample
conrad [Wed, 5 Sep 2007 00:23:34 +0000 (00:23 +0000)]
Use av_get_bits_per_sample

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10323 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite bit depth for PCM audio
conrad [Wed, 5 Sep 2007 00:23:31 +0000 (00:23 +0000)]
Write bit depth for PCM audio

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10322 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite wav header if there is no native audio codec ID
conrad [Wed, 5 Sep 2007 00:23:29 +0000 (00:23 +0000)]
Write wav header if there is no native audio codec ID

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10321 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite the cues element
conrad [Wed, 5 Sep 2007 00:23:27 +0000 (00:23 +0000)]
Write the cues element

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10320 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoDoxygenize comments
conrad [Wed, 5 Sep 2007 00:23:26 +0000 (00:23 +0000)]
Doxygenize comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10319 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCalculate the size of a SimpleBlock before writing it so that bytes aren't wasted...
conrad [Wed, 5 Sep 2007 00:23:23 +0000 (00:23 +0000)]
Calculate the size of a SimpleBlock before writing it so that bytes aren't wasted in writing the size

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10318 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoIndentation
conrad [Wed, 5 Sep 2007 00:23:21 +0000 (00:23 +0000)]
Indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10317 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite the Seek Head element
conrad [Wed, 5 Sep 2007 00:23:19 +0000 (00:23 +0000)]
Write the Seek Head element

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10316 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMake sure to return a value in functions that return a value
conrad [Wed, 5 Sep 2007 00:23:17 +0000 (00:23 +0000)]
Make sure to return a value in functions that return a value

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10315 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMove writing the tracks element to its own function
conrad [Wed, 5 Sep 2007 00:23:15 +0000 (00:23 +0000)]
Move writing the tracks element to its own function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10314 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoMove Xiph's CodecPrivate writing code to its own function
conrad [Wed, 5 Sep 2007 00:23:13 +0000 (00:23 +0000)]
Move Xiph's CodecPrivate writing code to its own function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10313 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite the duration of the file
conrad [Wed, 5 Sep 2007 00:23:11 +0000 (00:23 +0000)]
Write the duration of the file

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10312 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoput_ebml_void()
conrad [Wed, 5 Sep 2007 00:23:09 +0000 (00:23 +0000)]
put_ebml_void()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10311 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoRemove unused prototype
conrad [Wed, 5 Sep 2007 00:23:07 +0000 (00:23 +0000)]
Remove unused prototype

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10310 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite unknown size if the size given is too large for EBML (greater than 2^56-1)
conrad [Wed, 5 Sep 2007 00:23:06 +0000 (00:23 +0000)]
Write unknown size if the size given is too large for EBML (greater than 2^56-1)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10309 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoTrack number and UID only have to be nonzero
conrad [Wed, 5 Sep 2007 00:23:03 +0000 (00:23 +0000)]
Track number and UID only have to be nonzero

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10308 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSimpleBlocks are Matroska v2
conrad [Wed, 5 Sep 2007 00:23:01 +0000 (00:23 +0000)]
SimpleBlocks are Matroska v2

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10307 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoStart a new cluster every 5 MB or 5 seconds
conrad [Wed, 5 Sep 2007 00:23:00 +0000 (00:23 +0000)]
Start a new cluster every 5 MB or 5 seconds

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10306 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoFix writing Xiph header sizes
conrad [Wed, 5 Sep 2007 00:22:58 +0000 (00:22 +0000)]
Fix writing Xiph header sizes

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10305 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCorrectly write CodecPrivate element for Vorbis and Theora
conrad [Wed, 5 Sep 2007 00:22:56 +0000 (00:22 +0000)]
Correctly write CodecPrivate element for Vorbis and Theora

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10304 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCompile fix; missed a variable declaration in the last commit
conrad [Wed, 5 Sep 2007 00:22:54 +0000 (00:22 +0000)]
Compile fix; missed a variable declaration in the last commit

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10303 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoWrite one cluster and SimpleBlocks for the frames. Should now create playable mkv...
conrad [Wed, 5 Sep 2007 00:22:52 +0000 (00:22 +0000)]
Write one cluster and SimpleBlocks for the frames. Should now create playable mkv files for some video codecs (H.264 and VP3 checked)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10302 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoFirst stab at writing the tracks element, still needs some additional cases for certa...
conrad [Wed, 5 Sep 2007 00:22:50 +0000 (00:22 +0000)]
First stab at writing the tracks element, still needs some additional cases for certain codecs

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10301 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoRemove useless debug write
conrad [Wed, 5 Sep 2007 00:22:48 +0000 (00:22 +0000)]
Remove useless debug write

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10300 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoput_ebml_float()
conrad [Wed, 5 Sep 2007 00:22:47 +0000 (00:22 +0000)]
put_ebml_float()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10299 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoConst correctness
conrad [Wed, 5 Sep 2007 00:22:45 +0000 (00:22 +0000)]
Const correctness

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10298 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoGet rid of put_ebml_utf8(); the error checking that would have distinguished it from...
conrad [Wed, 5 Sep 2007 00:22:43 +0000 (00:22 +0000)]
Get rid of put_ebml_utf8(); the error checking that would have distinguished it from put_ebml_string() belongs elsewhere in lavf.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10297 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoCosmetics: align nicely for better readibility
conrad [Wed, 5 Sep 2007 00:22:41 +0000 (00:22 +0000)]
Cosmetics: align nicely for better readibility

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10296 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSimplify
conrad [Wed, 5 Sep 2007 00:22:39 +0000 (00:22 +0000)]
Simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10295 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoBeginning of mkv muxer, only EBML head is written correctly
conrad [Wed, 5 Sep 2007 00:22:37 +0000 (00:22 +0000)]
Beginning of mkv muxer, only EBML head is written correctly

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10294 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agocode to do halfpel interpolation per frame (unfinished and under ifdef but it
michael [Wed, 5 Sep 2007 00:06:34 +0000 (00:06 +0000)]
code to do halfpel interpolation per frame (unfinished and under ifdef but it
should be faster when its finished)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10293 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoTreat dc1394 as a library
ramiro [Tue, 4 Sep 2007 22:03:32 +0000 (22:03 +0000)]
Treat dc1394 as a library

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10292 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agosimplify PTS handling
melanson [Tue, 4 Sep 2007 17:33:35 +0000 (17:33 +0000)]
simplify PTS handling

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10291 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoFix issue 123 (Support Magic-carpet fli version,
melanson [Tue, 4 Sep 2007 17:31:25 +0000 (17:31 +0000)]
Fix issue 123 (Support Magic-carpet fli version,
https://roundup.mplayerhq.hu/roundup/ffmpeg/issue123 ) by rearranging the bit depth

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10290 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoSilence warnings about NAL_SVC_NON_IDR in H.264.
diego [Tue, 4 Sep 2007 14:48:39 +0000 (14:48 +0000)]
Silence warnings about NAL_SVC_NON_IDR in H.264.
patch by Carl Eugen Hoyos, cehoyos ag.or at

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10289 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoadd a close function to bitstream filter
benoit [Tue, 4 Sep 2007 06:48:22 +0000 (06:48 +0000)]
add a close function to bitstream filter

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10288 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoFill the buffer with 0 before writing an SDP in it
lucabe [Mon, 3 Sep 2007 09:00:40 +0000 (09:00 +0000)]
Fill the buffer with 0 before writing an SDP in it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10287 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoRemove error raising when explicitely skipping frame
benoit [Mon, 3 Sep 2007 08:46:24 +0000 (08:46 +0000)]
Remove error raising when explicitely skipping frame
patch by Carl Eugen Hoyos: [cehoyos ag or at]
original thread:
[FFmpeg-devel] [PATCH] Don't let ctx->skip_frame>0 produce errors
date: 08/30/2007 01:30 PM

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10286 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

16 years agoIf a stream has no start time, but the first packet has a 'pts', use that
benoit [Mon, 3 Sep 2007 07:56:26 +0000 (07:56 +0000)]
If a stream has no start time, but the first packet has a 'pts', use that
pts to set the start_time.
patch by Neil Brown: [neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less
dependant on start_time being defined.
date: 08/16/2007 08:27 AM

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10285 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b