diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-03-06 23:19:30 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-03-06 23:19:30 +0000 |
commit | 009c9750ea535fca5fea1df3fbaf7aa691e962e6 (patch) | |
tree | 80c5a098ac0de7f9d560f37cd76c5840bff45667 /tests/files | |
parent | cc09b81c01afb8100f1f4d98060f79ebd766878e (diff) |
gst/id3demux/gstid3demux.c: Don't leak caps: make gst_id3demux_add_srcpad() 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.
Diffstat (limited to 'tests/files')
-rw-r--r-- | tests/files/Makefile.am | 5 | ||||
-rw-r--r-- | tests/files/id3-407349-1.tag | bin | 0 -> 304 bytes | |||
-rw-r--r-- | tests/files/id3-407349-2.tag | bin | 0 -> 304 bytes |
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/files/Makefile.am b/tests/files/Makefile.am new file mode 100644 index 00000000..c065d007 --- /dev/null +++ b/tests/files/Makefile.am @@ -0,0 +1,5 @@ + +EXTRA_DIST = \ + id3-407349-1.tag \ + id3-407349-2.tag + diff --git a/tests/files/id3-407349-1.tag b/tests/files/id3-407349-1.tag Binary files differnew file mode 100644 index 00000000..47a27634 --- /dev/null +++ b/tests/files/id3-407349-1.tag diff --git a/tests/files/id3-407349-2.tag b/tests/files/id3-407349-2.tag Binary files differnew file mode 100644 index 00000000..d44a9a1d --- /dev/null +++ b/tests/files/id3-407349-2.tag |