gstreamer/tests/check/elements
Thiago Santos cb527623a3 deinterlace: Handle image caps without asserting
Images might have framerate=0/1 in the caps, which caused an
assertion on deinterlace. I don't know of interlaced image formats
but deinterlace might be hardcoded on some generic pipelines and
it shouldn't assert.

The fix was to set field_duration to 0 if the input has a framerate
with a 0 numerator.

This patch also adds checks for this situation on the unit tests.

https://bugzilla.gnome.org/show_bug.cgi?id=641400
2011-02-04 09:38:35 -03:00
..
.gitignore Move imagefreeze plugin from -bad to -good 2010-05-11 14:31:44 +01:00
alphacolor.c tests/check/elements/alphacolor.c: Remove two unused variables. 2008-01-29 15:27:02 +00:00
apev2mux.c tests: fix metadata not writable warnings with apev2mux and id3v2mux tests 2010-03-11 15:38:19 +00:00
aspectratiocrop.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audioamplify.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audiochebband.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audiocheblimit.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audiodynamic.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audioecho.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audiofirfilter.c Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters to be implemented by providing the... 2009-01-13 19:23:57 +00:00
audioiirfilter.c Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters to be implemented by providing the... 2009-01-13 19:23:57 +00:00
audioinvert.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audiopanorama.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audiowsincband.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
audiowsinclimit.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
autodetect.c tests/check/Makefile.am: Fix up some CFLAGS sets. 2008-01-21 19:41:45 +00:00
avimux.c Add -Wwrite-strings to the configure flags 2010-03-21 14:17:47 +01:00
avisubtitle.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
capssetter.c Add -Wold-style-definition 2010-05-11 14:31:43 +01:00
cmmldec.c check: Don't re-declare 'GList *buffers' in the tests 2010-04-12 18:03:20 +02:00
cmmlenc.c check: Don't re-declare 'GList *buffers' in the tests 2010-04-12 18:03:20 +02:00
deinterlace.c deinterlace: Handle image caps without asserting 2011-02-04 09:38:35 -03:00
deinterleave.c tests: fix metadata not writable warnings in interleave and deinterleave tests 2010-03-11 15:51:40 +00:00
equalizer.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
flvdemux.c check: add basic unit test for flvdemux 2009-07-31 23:55:01 +01:00
flvmux.c flvmux: Use loop test to prevent timeout on slow machines 2009-10-15 06:03:17 +02:00
gdkpixbufsink.c tests/check/: Add unit test for gdkpixbufsink element. 2008-04-03 22:59:44 +00:00
icydemux.c tests/check/elements/icydemux.c: Add some refcount check 2008-10-27 10:33:20 +00:00
id3demux.c id3demux: fix parsing of unsync'ed ID3 v2.4 tags and frames 2009-08-07 16:02:23 +01:00
id3v2mux.c id3v2mux: write beats-per-minute tag using TBPM frame 2010-08-05 00:04:48 +01:00
imagefreeze.c imagefreeze: Add test for checking if imagefreeze correctly returns UNEXPECTED after the first buffer 2010-09-04 14:52:08 +02:00
interleave.c check: Fixup the shutting down order 2010-12-05 14:45:07 +01:00
jpegenc.c jpegenc: Adds another test case 2010-12-21 15:23:11 -03:00
level.c check: Don't re-declare 'GList *buffers' in the tests 2010-04-12 18:03:20 +02:00
matroskamux.c matroskamux: don't leak ebml writer caps when re-using matroskamux 2011-01-26 08:51:04 +00:00
multifile.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
rganalysis.c check: Don't re-declare 'GList *buffers' in the tests 2010-04-12 18:03:20 +02:00
rglimiter.c check: Don't re-declare 'GList *buffers' in the tests 2010-04-12 18:03:20 +02:00
rgvolume.c check: Don't re-declare 'GList *buffers' in the tests 2010-04-12 18:03:20 +02:00
rtp-payloading.c tests: fix rtpjpegpay test 2010-09-09 18:48:54 +02:00
rtpbin.c checks: add test for leak to rtpbin unit test 2009-08-14 13:47:18 +01:00
rtpbin_buffer_list.c Add -Wwrite-strings to the configure flags 2010-03-21 14:17:47 +01:00
rtpjitterbuffer.c check: fix jitterbuffer check 2009-11-28 12:25:06 +01:00
shapewipe.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
souphttpsrc.c tests: fix leak in souphttpsrc unit test 2010-05-14 18:16:45 +01:00
spectrum.c check: Don't re-declare 'GList *buffers' in the tests 2010-04-12 18:03:20 +02:00
sunaudio.c sys/sunaudio/: Actually translate sunaudio mixer track labels instead of just marking the strings as translatable (#3... 2007-03-09 19:44:30 +00:00
udpsink.c check: Use fail_unless_equals_int instead of fail_if 2010-12-03 14:52:42 +01:00
videocrop.c tests: use loop test for long-running videocrop check 2010-03-23 00:19:29 +00:00
videofilter.c videofilter: Extend the unit test to test different color formats 2010-04-29 19:28:21 +02:00
wavpackdec.c Add -Wold-style-definition flag 2010-03-21 15:17:46 +01:00
wavpackenc.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
wavpackparse.c Add -Wmissing-declarations -Wmissing-prototypes warning flags 2010-03-17 18:23:28 +01:00
y4menc.c y4menc: adjust unit test to element behaviour 2010-04-30 13:54:41 +02:00