Commit graph

731 commits

Author SHA1 Message Date
Nicolas Dufresne
1ad8ebac44 videocrop: Add support for automatic cropping
This change enable automatic cropping using -1 set to left, top, right or
bottom property. In the case both side are set to automatic cropping, the
croping will be done equally on both side (in the odd case, right and
bottom cropping will be 1 pixel more).

https://bugzilla.gnome.org/show_bug.cgi?id=687761
2012-11-07 11:20:24 +01:00
Tim-Philipp Müller
230cf41cc9 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Wim Taymans
0de4b76d39 tests: fix level example
Use the GValueArray in the message.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687154
2012-10-30 11:10:49 +00:00
Tim-Philipp Müller
49f49a2fbf tests: add multifilesrc test for fix in previous commit
Make sure the stop-index set is honoured.

https://bugzilla.gnome.org/show_bug.cgi?id=654853
2012-10-26 11:04:02 +01:00
Tim-Philipp Müller
ff33d8d263 tests: remove superfluous g_type_init() call
It's deprecated in newer GLib and not needed here.

https://bugzilla.gnome.org/show_bug.cgi?id=686456
2012-10-20 13:01:41 +01:00
Tim-Philipp Müller
3bbbcd266c examples: update some element names for 1.0 in RTP examples
gstrtpbin -> rtpbin
ffdec_*   -> avdec_*
ffenc_*   -> avenc_*
2012-10-11 22:36:21 +01:00
Patricia Muscalu
7a863e4d8d rtph264pay: do not push unmapped data
Also do not use a GstBuffer after it has been pushed into the adapter.

https://bugzilla.gnome.org/show_bug.cgi?id=685213
2012-10-04 09:22:50 +01:00
Tim-Philipp Müller
2c4b7e03a2 tests: port gdkpixbufsink test 2012-10-01 14:03:19 +01:00
Tim-Philipp Müller
e6d37eb30a Purge references to liboil
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 12:41:37 +01:00
Tim-Philipp Müller
626e0258e3 videomixer: fix warnings when using transparent background
gst_video_frame_map() increases the refcount, which makes
the buffer not writable any more technically, so calling
gst_buffer_memset() on it will cause nasty warnings.

Unit test disabled because it very rarely (for me)
fails, possibly negotiation-related.

https://bugzilla.gnome.org/show_bug.cgi?id=684398
2012-09-25 23:31:34 +01:00
Tim-Philipp Müller
df83b4e730 tests: remove g_printerr() that's not needed any longer
now that tcase_skip_broken_test() prints it as well.
2012-09-24 11:56:56 +01:00
Tim-Philipp Müller
63c4a29ac0 tests: disable failing replaygain tests 2012-09-23 19:50:42 +01:00
Tim-Philipp Müller
e3ba13632b tests: dist image.jpg for jpeg test 2012-09-17 18:23:11 +01:00
Sebastian Dröge
198a5fd19c vp8: Add tests to .gitignore 2012-09-16 15:47:16 +02:00
Sebastian Dröge
e6dbdffbfe vp8enc: Update patch to the new property names 2012-09-16 15:46:31 +02:00
Sebastian Dröge
b0459448b7 vpx: Integrate test into the build system too 2012-09-16 15:46:22 +02:00
Wim Taymans
8337fcfe99 [MOVED FROM BAD 6/6] tests: fix more unit tests 2012-09-16 15:44:00 +02:00
René Stadler
caa34f7bf7 [MOVED FROM BAD 5/6] tests: update for gstcheck API change 2012-09-16 15:44:00 +02:00
Sebastian Dröge
92eae76bdb [MOVED FROM BAD 4/6] vp8dec: Add simple unit test for vp8dec 2012-09-16 15:44:00 +02:00
Sebastian Dröge
b072086ec0 [MOVED FROM BAD 3/6] vp8enc: Improve unit test a bit 2012-09-16 15:44:00 +02:00
Sebastian Dröge
d983342dbd [MOVED FROM BAD 2/6] vp8enc: Also check the output caps in the unit test 2012-09-16 15:44:00 +02:00
Sebastian Dröge
63e28498c4 [MOVED FROM BAD 1/6] vp8enc: Add simple unit test 2012-09-16 15:44:00 +02:00
Mark Nauwelaerts
a32398fee5 replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:07:40 +02:00
Wim Taymans
829c80ce6c fix more caps 2012-09-14 13:30:37 +02:00
Tim-Philipp Müller
a9e5d1246a tests: push stream-start and segment events in wavpackenc test 2012-09-14 00:47:38 +01:00
Tim-Philipp Müller
1d586d3bde tests: fix most of the rganalysis unit tests
Before the element would post messages on the bus itself, now
the sinks do that based on the tag events they receive. But
since we don't have proper sink elements in these unit tests,
but just dangling pads, we have to post the tag messages the
test checks for ourselves.

Down from 52/55 failing to 7/52 failing.
2012-09-12 00:16:31 +01:00
Mark Nauwelaerts
538578f345 tests: rtpbin: port to the new GLib thread API 2012-09-11 12:54:41 +02:00
Wim Taymans
f0989b600a tests: fix id3demux test 2012-09-10 17:16:47 +02:00
Mark Nauwelaerts
7940a29c74 tests: rtp-payloading: adjust to modified bufferlist semantics
... now implemented by buffer memory blocks.
2012-09-07 15:25:53 +02:00
Mark Nauwelaerts
397e987c7d tests: deinterlace: do not leak deinterlace pads 2012-09-06 17:05:49 +02:00
Tim-Philipp Müller
9bf90f47cf video/x-xvid -> video/mpeg,mpegversion=4 2012-09-03 02:51:24 +01:00
Tim-Philipp Müller
4bb52bbadf docs: gst-launch -> gst-launch-1.0 and ffmpegcolorspace -> videoconvert 2012-08-27 21:20:30 +01:00
Tim-Philipp Müller
045c4b6ec8 deinterlace: the field in caps is "interlace-mode" not "interlace-method"
Fix deinterlace unit test. Need to set right field on output caps.
Also remove right field (not old 0.10 "interlaced" boolean field)
from caps in unit test before comparing old and new.
2012-08-27 21:20:29 +01:00
Tim-Philipp Müller
d35fbcf6f1 tests: fix icydemux unit test
Was waiting for a tag message on the bus, which would never
come, because elements don't post those themselves any more
but let sinks post them from tag events. Only that there are
no sinks in this unit test.
2012-08-27 21:20:29 +01:00
Tim-Philipp Müller
a62f9b178d tests: fix videocrop crop_to_1x1 unit test for GRAY8 format
Update table with pixel values with the value actually produced
by videotestsrc.
2012-08-27 21:20:29 +01:00
Stefan Sauer
1f255a585b equalizer: enable presets for the n-band equalizer
Add a test for saving and restoring the preset.
2012-08-17 15:01:40 +02:00
Olivier Crête
264bcf7d6f rtph264pay: Make it actually work after cleanups 2012-08-08 19:49:05 -07:00
Tim-Philipp Müller
4de8bd004c No code with side-effects inside g_assert() please 2012-08-08 11:07:55 +01:00
Tim-Philipp Müller
c074bfd0b9 gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:10:16 +01:00
Sebastian Dröge
0827f54b93 tag: Update for taglist/tag event API changes 2012-07-28 00:19:51 +02:00
Mathias Hasselmann
fc578e7699 tests: drop redundant elements_level_LDADD line
https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-07-08 13:34:08 +01:00
Tim-Philipp Müller
f3f71b9749 tests: minor jpegdec clean-ups and fixes
Fix race condition in eos checking and a leak. And
build pipeline without parse_launch.
2012-07-08 13:30:34 +01:00
Mathias Hasselmann
0da9456ba2 tests: Add some basic tests for jpegdec
https://bugzilla.gnome.org/show_bug.cgi?id=676302
2012-07-08 12:56:31 +01:00
Tim-Philipp Müller
cf9b2149dd isomp4: remove gppmux, which was deprecated in favour of 3gppmux 2012-07-06 12:54:02 +01:00
Tim-Philipp Müller
48706beb70 rtph263ppay: accept any h263 input unless downstream forces specific requirements
rtph263ppay should accept any input compatible with its sink template
caps if it just outputs to e.g. udpsink or fakesink.

rtph263ppay ! rtph263pdepay should also work with any compatible input.
This would fail before with not-negotiated errors because the get_caps
function would see the encoding-name in the depayloader's template caps
and default to baseline H.263 because there's no profile/level information
in those caps, which is the right thing to do if downstream has filtercaps
from an SDP, but not if those fields are absent because they can be
anything like with the depayloader's template caps. Makes

  videotestsrc ! avenc_h263p ! rtph263ppay ! rtph263pdepay ! fakesink

work.
2012-07-06 11:57:38 +01:00
Tim-Philipp Müller
76625d20d7 tests: fix h263p payload ! depayload unit test
Need to add h263version field to input caps since the
payloader sink get_caps function will contain it in the
the caps, and the stricter caps subset check requires
this to be present in the input caps as well then.
2012-07-06 11:57:38 +01:00
Tim-Philipp Müller
91d97d31e2 tests: fix rgvolume unit test event handling
Must flush after EOS before sending more buffers or
another EOS event, or the event or buffer will be
rejected. Also send a SEGMENT event at the start
of each stream for good measure.
2012-07-05 15:14:33 +01:00
Tim-Philipp Müller
a94c1a7fdb tests: fix rganalysis unit test event handling
Must flush after EOS before sending more buffers or
another EOS event, or the event or buffer will be
rejected. Also send a SEGMENT event at the start
of each stream for good measure.
2012-07-04 23:57:18 +01:00
Tim-Philipp Müller
94e54887fb tests: disable deinterlace test for now, element still needs to be ported
But leave it active and print a FIXME. Porting is in progress.
2012-07-04 12:39:07 +01:00
Javier Jardón
c6cb95f5b2 tests: do not use deprecated gtk+ symbols
https://bugzilla.gnome.org/show_bug.cgi?id=679301
2012-07-03 09:54:15 +01:00