summaryrefslogtreecommitdiff
path: root/tests/files
Commit message (Collapse)AuthorAgeFilesLines
* check: Dist splitvideo0[012].ogg test files.Jan Schmidt2015-10-261-1/+3
|
* tests: Change splitmux test video filesJan Schmidt2015-02-063-0/+0
| | | | | Avoid test failure by changing the stored video resolution from 80x60 to 80x64, which needs bug 741030 to be fixed.
* splitmux: Implement new elements for splitting files at mux level.Jan Schmidt2015-02-063-0/+0
| | | | | | | | | | | | | | | Implement 2 new elements - splitmuxsink and splitmuxsrc. splitmuxsink is a bin which wraps a muxer and takes 1 video stream, plus audio/subtitle streams, and starts a new file whenever necessary to avoid overrunning a threshold of either bytes or time. New files are started at a keyframe, and corresponding audio and subtitle streams are split at packet boundaries to match video GOP timestamps. splitmuxsrc is a corresponding source element which handles the splitmux:// URL and plays back all component files, reconstructing the original elementary streams as it goes.
* tests: souphttpsrc: update ssl key/cert pairThiago Santos2015-02-042-33/+40
| | | | | | | | | Our ones were expired. The new ones were copied from libsoup's tests files. Also sets the property to use our own cert to validate the server, otherwise the default system certs would be used and it would fail.
* tests: fix test ID3 tags up not to rely on dodgy typefinding codeTim-Philipp Müller2013-07-253-0/+0
| | | | | | | Change 0xff 0xfb 'mp3' marker to 'fLaC' marker, so we can fix the typefinder. https://bugzilla.gnome.org/show_bug.cgi?id=681368
* tests: dist image.jpg for jpeg testTim-Philipp Müller2012-09-171-0/+1
|
* tests: Add some basic tests for jpegdecMathias Hasselmann2012-07-081-0/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676302
* tests: dist test file used in matroskaparse unit testTim-Philipp Müller2011-12-111-0/+1
|
* tests: add basic unit test for matroskaparseTim-Philipp Müller2011-11-231-0/+0
|
* id3demux: fix parsing of unsync'ed ID3 v2.4 tags and framesTim-Philipp Müller2009-08-072-0/+1
| | | | | | | | | | | | | | | | Reversing the unsynchronisation seems to work slightly differently for ID3 v2.3 tags and v2.4 tags: v2.3 tags don't have syncsafe frame sizes in the frame header, so the unsynchronisation is applied to the whole frame data including all the frame headers. v2.4 frames have sync-safe sizes, however, so the unsynchronisation only needs to be applied to the actual frame data, and it seems that's what's being done as well. So we need to undo the unsynchronisation on a per-frame basis for v2.4 tags for things to work properly. Fixes extraction of coverart/images from APIC frames in ID3 v2.4 tags (#588148). Add unit test for this as well.
* check: add basic unit test for flvdemuxTim-Philipp Müller2009-07-312-0/+1
| | | | | In particular, test re-use of flvdemux in both pull and push mode (see #583030).
* checks: move files required by unit tests into tests/files and make sure ↵Tim-Philipp Müller2009-05-154-1/+41
| | | | | | | | | | they're disted Move unit test data into the directory where it belongs and make in particular the flacdec unit test cd into the directory with the test files instead of making assumptions about the current working directory in that unit test. As a side effect of movng those files, there's only one EXTRA_DIST in tests/check/Makefile.am now, which is likely to work better than having two. Hopefully fixes #582753.
* checks: dist id3-577468-unsynced-tag.tag test fileJan Schmidt2009-05-111-1/+2
|
* id3demux: add unit test file for unsynced id3 tagsTim-Philipp Müller2009-04-241-0/+0
|
* gst/id3demux/id3v2frames.c: Extract license/copyright URIs from ID3v2 WCOP ↵Jason Kivlighn2007-10-112-1/+2
| | | | | | | | | | | | | | frames (Fixes #447000). Original commit message from CVS: Based on patch by: Jason Kivlighn <jkivlighn gmail com> * gst/id3demux/id3v2frames.c: Extract license/copyright URIs from ID3v2 WCOP frames (Fixes #447000). * tests/check/elements/id3demux.c: * tests/files/Makefile.am: * tests/files/id3-447000-wcop.tag: Add simple unit test.
* gst/id3demux/gstid3demux.c: Don't leak caps: make gst_id3demux_add_srcpad() ↵Tim-Philipp Müller2007-03-063-0/+5
not take ownership of the caps passed to ... Original commit message from CVS: * gst/id3demux/gstid3demux.c: (gst_id3demux_add_srcpad), (gst_id3demux_sink_activate): Don't leak caps: make gst_id3demux_add_srcpad() not take ownership of the caps passed to it (previouslly one code path assumes it takes ownership while another one assumes it doesn't). * configure.ac: * tests/files/Makefile.am: * tests/files/id3-407349-1.tag: * tests/files/id3-407349-2.tag: Add directory where data for unit tests can be stored. * tests/Makefile.am: * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/id3demux.c: (pad_added_cb), (error_cb), (read_tags_from_file), (run_check_for_file), (check_date_1977_06_23), (GST_START_TEST), (id3demux_suite): Add unit test for id3demux, and in particular for bug #407349. Only testing pull-mode for now; push mode doesn't work yet because the test files are smaller than ID3_TYPE_FIND_MIN_SIZE.