summaryrefslogtreecommitdiff
path: root/libavformat/movenc-test.c
Commit message (Collapse)AuthorAge
* Merge commit '9cce011b1d2f66366f5d75a024c2a2f93dc2b589'Derek Buitenhuis2016-01-27
|\ | | | | | | Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * movenc-test: stop setting the GLOBAL_HEADER codec flagAnton Khirnov2016-01-12
| | | | | | | | | | This test does no encoding, setting the flag was done just to silence the warning removed in the previous commit.
| * movenc-test: add a missing va_end callGanesh Ajjanagadde2015-12-07
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * movenc-test: Fix integer overflowsMichael Niedermayer2015-11-24
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat/movenc-test: Make format staticMichael Niedermayer2015-12-22
| | | | | | | | | | | | Makes greping for non static consts easier Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/movenc-test: correct varargs usageGanesh Ajjanagadde2015-12-06
| | | | | | | | | | | | | | | | | | | | It is required to call va_end for each invocation of va_start within the same function. Fixes: CID 1341583. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avformat/movenc-test: Fix integer overflowsMichael Niedermayer2015-11-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '1d62ee38894afb696674db78cee8f8d89204a8fe'Derek Buitenhuis2015-11-18
|\| | | | | | | | | | | | | * commit '1d62ee38894afb696674db78cee8f8d89204a8fe': movenc: Add a unit test for signaling of the track start times Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * movenc: Add a unit test for signaling of the track start timesMartin Storsjö2015-11-11
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | movenc-test: Pad the packet data start with 0sDerek Buitenhuis2015-11-18
| | | | | | | | | | | | | | This way, it never starts with 0xFFF0, and never trips the ADTS "Detection" code in movenc.c. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit '3eeb7edfc2a1157b7b0e0ce21ac2cd44d55d405b'Derek Buitenhuis2015-11-17
|\| | | | | | | | | | | | | * commit '3eeb7edfc2a1157b7b0e0ce21ac2cd44d55d405b': movenc: Add a unit test for frag_discont with edit lists Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * movenc: Add a unit test for frag_discont with edit listsMartin Storsjö2015-11-11
| | | | | | | | | | | | | | This tests the case where the muxer correctly guesses that a stream starts at pts=0. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat/movenc-test: fix copyright headerJames Almer2015-11-16
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '59e8ec0aa8ab174701d01a3bfe96fedd0b7fcead'Derek Buitenhuis2015-11-16
|/ | | | | | | | | All diferences in unit tests have been acounted for. * commit '59e8ec0aa8ab174701d01a3bfe96fedd0b7fcead': movenc: Add an API unit test for fragmenting options/calls Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* movenc: Add an API unit test for fragmenting options/callsMartin Storsjö2015-11-10
Contrary to the normal fate tests that run via avconv, this tests nontrivial call sequences that are only doable via the API (mainly for different corner cases when using the muxer for segmenting). The test muxes fake packet data (with extradata that looks enough like proper data to make the file be viewable with e.g. boxdumper) and checks the hash of the produced files. The test also verifies that fragments produced via different call sequences remain identical (to avoid e.g. updating the output hashes and suddenly having fragments that used to be identical suddenly diverging), for fragments written with frag_discont and/or delay_moov. Signed-off-by: Martin Storsjö <martin@martin.st>