Commit graph

761 commits

Author SHA1 Message Date
Tim-Philipp Müller
58a92964c6 build: Makefile.am fixes
Mostly just add missing $(GST_BASE_CFLAGS), but also fix up order
of flags (see docs/random/moving-plugins).
2010-03-19 01:00:36 +00:00
Tim-Philipp Müller
73b24098a2 .gitignore: ignore new unit test binary 2010-03-19 00:55:46 +00:00
Thiago Santos
433f18db8e tests: capsfilter-renegotiation: Adds a new unit test
Adds a new test for checking that capsfilter 'caps' property
changes cause caps renegotiation on the pipeline.
2010-03-17 16:33:04 -03:00
Benjamin Otte
3bd4aa26ff Add -Wwrite-strings to configure
Fixes for the code included
2010-03-16 17:41:51 +01:00
Benjamin Otte
5e21fa5e0e gst_element_class_set_details => gst_element_class_set_details_simple
Also change my email from the old university one to the current one.
2010-03-16 17:41:50 +01:00
Tim-Philipp Müller
444762a877 tests: fix videorate test
Fix up videorate test for latest videotestsrc changes: just check for
the important bits in the negotiated caps, not for exact equality with
our filter caps. Also don't leak the videorate element in the test.
2010-03-16 01:08:48 +00:00
Stefan Kost
412e5f5871 tests: update videorate test for videotestsrc changes
Add color-matrix to the caps we are comparing. Add logging og the caps in the
test.
2010-03-15 11:43:23 +02:00
Tim-Philipp Müller
4def141e86 tests: make Gtk+ test programs compile with -DGSEAL_ENABLE
Fixes #612552, at least for now.
2010-03-14 22:48:00 +00:00
Edward Hervey
e22741f1dd tests: Fix another unitialized variable 2010-03-11 16:35:10 +01:00
Edward Hervey
d91a466dd5 tests: Fix unitialized variable. 2010-03-11 16:09:26 +01:00
Benjamin Otte
43b1683421 Add -Wmissing-declarations -Wmissing-prototypes to warning flags
Includes all the fixes necessary to make stuff compile again.
2010-03-11 13:50:31 +01:00
Benjamin Otte
9b5ef584e2 check: Ref buffers after setting caps on them
Reffing makes metadata unwritable, so we need to set the caps before.
2010-03-11 12:18:50 +01:00
Tim-Philipp Müller
8697324e07 tests: don't use Gtk+ 2.18 API for no good reason
The rest of the code directly uses widget->allocation as well, so no point
in using the new API in other places.
2010-03-11 10:40:59 +00:00
Stefan Kost
944558971d tests: add a test for trickplay in audio synthesis graphs
Right now this mostly demonstatest what not works. That is seeking with
start-type = NONE to only update the rate and playing backwards. Also
it shows that non-flushing seeks tend to lockup adder. Separate unit tests
for the issues follow.
2010-03-11 10:53:05 +02:00
Stefan Kost
8551c49ff9 tags: add basic xmp metadata support
XMP metadata can be embedded in many media container formats. Implement own
parser and formatter that can be used to convert between an xpacket and a
GstTagList. Add unit tests.
2010-03-11 10:52:56 +02:00
Stefan Kost
91fbd42094 example: add an example for xoverlay::set_render_rectangle()
This add a new example which animates a target recangle for the video.
2010-03-11 10:24:58 +02:00
Mark Nauwelaerts
66c1292cac tests: enable strict discontinuity checking on vorbisdec pipeline
Closes #423086.
2010-03-10 11:24:28 +01:00
Tim-Philipp Müller
c681ecab9f tests: fix typo in videorate unit test pipeline description
Two consecutive ! ! leave a 'Link without source' error in the debug log.
2010-03-10 00:59:10 +00:00
Tim-Philipp Müller
f7ca667189 tests: don't use deprecated functions in videorate unit test 2010-03-10 00:59:10 +00:00
Sebastian Dröge
d5a4ca9962 build: Make some more rules silent if requested 2010-03-09 21:01:38 +00:00
Tim-Philipp Müller
c43dec83af examples: make sure to dist qtgv-xoverlay.h header file
This time for real.

Fixes #610832.
2010-03-08 17:07:57 +00:00
Götz Waschk
6de021c56e examples: Dist header file for the Qt graphics view example
Fixes bug #610832.
2010-02-23 16:59:27 +01:00
Thiago Santos
e5f96a7a19 videorate: tests: New unit tests for upstream caps nego
Adds unit tests that check videorate's upstream caps
negotiation works properly (put passthrough caps
first)

Fixes #608025
2010-02-22 17:27:52 -03:00
Stefan Kost
1b41c2696d examples: also add sink detection and set title to qt examples
Also set a title in the qt examples like it is now done in the gtk example.
Fix the newly added find_video_sink in the gtk example and add similar function
to the qt examples.
2010-02-22 14:02:24 +02:00
Stefan Kost
236b707cd2 gitignore: ignore files in new example directroy 2010-02-22 13:04:43 +02:00
Tim-Philipp Müller
094a05b06a Ignore new overlay examples 2010-02-19 00:18:00 +00:00
Tim-Philipp Müller
590bc917a2 examples: don't hard-code xvimagesink for Gtk+ GstXOverlay example
Try to find a working videosink, don't hardcode xvimagesink. Also
add some borders to window and give it a title so that it's clear
that this is really a Gtk+ window and not a window created by the
videosink.
2010-02-18 23:47:35 +00:00
Stefan Kost
54094cd9ce examples: add video overlay examples for gtk, qt and qt graphics view
Add simple videotestsrc ! xvimagesink examples using gtk and qt. This patch also
adds all boilerplate to configure for using c++. The qt based examples are
optional like their gtk counterparts.
2010-02-17 09:48:10 +02:00
Stefan Kost
432790c4ff test-colorkey: remove the XInitThreads()
We don't do this is any other example, this should be done for us in gdk it if
would be needed.
2010-02-16 18:05:40 +02:00
Sebastian Dröge
40a841e377 playbin: Fix the primary-decoder-missing test with USE_DECODEBIN2 2010-02-15 10:23:13 +01:00
Sebastian Dröge
b326b77ffa playbin2: Enable all unit tests
They're all working and valgrind clean now.
2010-02-15 08:28:24 +01:00
Sebastian Dröge
ad9830f547 tests: Add decodebin2 test to .gitignore 2010-02-15 06:50:29 +01:00
Sebastian Dröge
93d7bd2c43 decodebin2: Add simple unit test, mainly a copy of the decodebin unit test
The only difference between the two unit tests right now is,
that the decodebin2 test resets the element to READY before trying
to reuse it instead of NULL. decodebin2 guarantees to be reusable
without going back to NULL.
2010-02-15 01:21:14 +01:00
Sebastian Dröge
b029c30aa0 playbin2: Enable playbin2 unit test
It now contains a single working unit test and can be enabled.
The other more useful unit tests still need fixing.
2010-02-14 23:10:06 +01:00
Sebastian Dröge
52a34b65b5 playbin: Fix indention in the unit test 2010-02-14 22:16:31 +01:00
Benjamin Otte
6d03489813 build: link to libm in examples that use it
This fixes build failure in Fedora 13.
2010-02-12 10:26:12 +01:00
Mark Nauwelaerts
0afe00f290 stress-playbin: fix error return check 2010-01-14 10:46:21 +01:00
Tim-Philipp Müller
fe970cb856 examples: use Gtk+-2.18 API conditionally
so the seek example and colorkey test work with older Gtk+ versions
as well.

Fixes #605960.
2010-01-04 09:49:25 +00:00
Tim-Philipp Müller
7388401f93 tests: fix colorkey test up for Gtk+ >= 2.18
Make test-colorkey work with newer versions of Gtk+.

See #601809.
2009-12-29 00:53:53 +00:00
Tim-Philipp Müller
f82ac8bf44 examples: make seek example work with Gtk+ >= 2.18
Gtk+ broke API slightly with the introduction of
client-side windows in Gtk+ 2.18. Fix up seek
example to work with newer Gtk+ versions.

Fixes #601809.
2009-12-29 00:50:35 +00:00
Tim-Philipp Müller
234b18965d tests: fix warning and memory leak in stress-overlay test
Not all messages have structures and we need to unref messages
when returning GST_BUS_DROP in the sync bus handler.
2009-12-26 23:29:24 +00:00
Wim Taymans
59ace1b9ee adder: use collectpads clipping function
Install a clipping function in the collectpads and use the audio clipping helper
function to perform clipping to the segment boundaries.

Fixes #590265
2009-12-24 16:30:23 +01:00
Tim-Philipp Müller
6ce1ff2188 tests: don't use deprecated GLib API g_mapped_file_free
Fixes #605100.
2009-12-21 07:50:26 +00:00
Tim-Philipp Müller
fc73a73f0a checks: some more testing for the new language code functions 2009-12-13 18:42:11 +00:00
Tim-Philipp Müller
088c7c07a2 tag: add some utility functions for language codes and tags
Add some utility functions for language tags and ISO-639
codes. These are useful for both GUIs and elements. The
iso-codes package is used for language name translations
if available.

API: gst_tag_get_language_codes()
API: gst_tag_get_language_name()
API: gst_tag_get_language_code()
API: gst_tag_get_language_code_iso_639_1()
API: gst_tag_get_language_code_iso_639_2B()
API: gst_tag_get_language_code_iso_639_2T()
2009-12-12 15:48:37 +00:00
Wim Taymans
bc1302cf8e seek: update slider only 25 times a second
don't update the slider a 100 times a second, it's likely higher than the screen
framerate and just wastes cpu.
2009-12-08 17:37:56 +01:00
Stefan Kost
3d73a7458a adder: make events succeed, if they succed on atleast one pad 2009-11-19 21:28:23 +02:00
Jan Schmidt
36711ab477 video: Add functions to create/parse still frame events.
Add a new video event to mark the start or end of a still-frame
sequence, and a parser function to identify and extract info from
such events.
API: gst_video_event_new_still_frame()
API: gst_video_event_parse_still_frame()

Fixes: #601942
2009-11-18 00:10:57 +00:00
Sebastian Dröge
d086c05c1f cddabasesrc: Add unit test for property settings
Also includes a regression test for bug #601104.
2009-11-09 18:12:15 +01:00
Mart Raudsepp
e75da74a93 examples: Correct casting of g_signal* funcs first arguments
This completes the deprecated GTK API fix in commits 81a0a986 and
79adfa54 - unlike gtk_signal_connect and co, g_signal_connect and
co take a gpointer, not a GtkObject.
2009-11-06 12:37:03 +01:00