Commit graph

870 commits

Author SHA1 Message Date
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
Tim-Philipp Müller 7a2427e8fb .gitignore: ignore basetime unit test binary 2009-10-28 01:01:35 +00:00
Wim Taymans 5cdbabbaac seek: add checkbox to enable buffering 2009-10-27 15:15:50 +01:00
Edward Hervey 05667813ad examples: fix linking order.
the uninstalled wrapper would create a LD_LIBRARY_PATH with system-wide
path before the local ones... resulting in the example applications picking
up the system-wide libraries and not the (potentially modified) uninstalled
libraries
2009-10-24 13:21:05 +02:00
Iago Toral f63643bd54 subparse: Add support for DKS subtitle format
Fixes bug #598936.
2009-10-22 10:02:11 +02:00
Jan Schmidt 4b84d7552f check: Don't fail the basetime test when no audiosrc is available
On OS/X the DEFAULT_AUDIOSRC is not going to be available, because
it isn't in gst-plugins-base. Just defer the test, instead of
failing it.
2009-10-15 10:28:39 +01:00
Tommi Myöhänen 5e8e7c0358 tests: new test for baseaudiosrc base_time comparison
This test reveals a bug in comparison operation between timestamp and
GstElement's base_time in GstBaseAudioSrc.
2009-10-13 19:17:49 +03:00
Jan Schmidt 34480029fb check: Add valgrind suppressions for ALSA and fontconfig bits on Jaunty. 2009-10-09 15:11:52 +01:00
Benjamin Otte 4db9487a1f tests/check/libs/video.c: Update strides for Y41B 2009-10-07 11:49:18 +02:00
Sebastian Dröge 901dbc6ab4 cddabasesrc: Fix string leaks in the unit test and a leak in cddabasesrc 2009-09-17 17:00:10 +02:00
Jonathan Matthew 6781c4c9c5 cddabasesrc: ignore URI fragments that look like device paths
Rhythmbox uses cdda:// URIs of the form cdda://track#device, which
worked before the fix for bug #321532.

Also adds a check for negative track numbers and some unit tests for URI
parsing.

Fixes bug #595454.
2009-09-17 17:00:10 +02:00
Jan Schmidt a9f815bd8d check: Improve audioresample test
Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.
2009-09-11 21:44:18 +01:00
Sebastian Dröge 723b2baa5d volume: Implement GstStreamVolume interface 2009-09-11 16:37:35 +02:00
Wim Taymans 7ba0a36a07 seek: make stop state configurable
Make it easy to experiment with different stop states (NULL and READY)
2009-09-09 16:21:57 +02:00
Sebastian Dröge e22c843d0e audioresample: Add unit test for checking for timestamp drifts
This also checks for perfect timestamping and offsetting.
2009-08-26 09:10:18 +02:00
Sebastian Dröge 01408497a1 audioresample: Improve debugging a bit in the unit test 2009-08-26 09:10:18 +02:00
Tim-Philipp Müller 099989ff0f oggmux: don't drop the streamheader field from the output caps
Revert previous 'fix' for bug #588717 and fix it properly, whilst
maintaining the streamheader field on the output caps. Also make
sure we don't leak header buffers we couldn't push when downstream
is unlinked. Add unit test for the presence of the streamheader
field on the output caps and for the issue from bug #588717.
2009-08-20 13:14:19 +01:00
Sebastian Dröge 11ad341d35 streamheader: Fix caps leak in the vorbisenc unit test 2009-08-10 15:40:33 +02:00
Tim-Philipp Müller cc6e70e8ec checks: fix stream header unit test hanging in gst_task_cleanup_all()
Set pipelines to NULL state and unref when done.
2009-08-10 14:14:30 +01:00
Stefan Kost 513f375345 colorkey-test: fix xsync error 2009-08-06 15:09:44 +03:00
Tim-Philipp Müller e199d7e1cd typefinding: fix detection of fLaC id packet in broken flac-in-ogg
There are flac-in-ogg files without the usual flac packet framing
and these files just have a 4-byte fLaC ID packet as first packet.
We need to recognise the type just from these four bytes if we
want oggdemux to recognise these streams correctly.
2009-08-01 19:01:39 +01:00
Jan Schmidt d85a64f30b ignores: Ignore v4l probing example binary 2009-07-24 13:46:55 +01:00
Edward Hervey 9819a3519d tests/adder: Add stream consistency checking. Fixes #588748 2009-07-20 11:30:07 +02:00
Filippo Argiolas 57d8ba0fd2 examples: fix v4l probe example build
Fixes bug #588550.
2009-07-15 15:32:06 +02:00
Jan Schmidt de02af8d4f adder: One more attempt to fix the adder test
Give up and discard and recreate the alsasrc after checking it can
be opened, due to some strange crash inside alsa when we don't.
2009-07-14 15:31:13 +01:00
Jan Schmidt 7753d46350 adder: Perform get_state() in the unit test
Wait for the alsasrc to return to NULL after setting it to PAUSED for
testing, otherwise it leads to segfaults later on.
2009-07-14 15:06:41 +01:00
Jan Schmidt b26eae25d0 adder: Don't fail when alsasrc is unavailable
Make the liveadder test succeed silently when it can't be completed
either because alsasrc is unavailable, or because the device is
inaccessible.
2009-07-14 14:39:32 +01:00
Jan Schmidt 9af05c2e0f ignores: ignore the giosrc-mounting example binary 2009-07-13 17:58:01 +01:00
Filippo Argiolas f6360ee171 v4lsrc: add a simple test case for device probing 2009-07-13 16:15:44 +02:00
Wim Taymans 4e898a661a seek: don't automatically start pipeline in DB
Keep the pipeline paused when we detect download buffering. The user has to
manually start the pipeline for now because we can't estimate when the buffering
will finish or when we have underrun.
2009-07-10 21:29:51 +01:00
Wim Taymans 40f404ad90 seek: add a checkbox for progressive download 2009-07-10 20:26:23 +01:00
Stefan Kost 4736429c59 adder: skip live-seek text if we have no audiosrc, add new test
The seek-test needs a real audiosrc. Also add a test that checks that adder is
reusable. Finaly handle warnings as warnings to fix a assertion.
2009-07-10 19:01:25 +01:00
Sebastian Dröge f98d0f8895 gio: Remove workaround for playbin2 bug in the sample application
The playbin2 bug was #588078.
2009-07-10 17:15:48 +02:00
Sebastian Dröge 8515117573 gio: Add example application that shows how to handle the "not-mounted" message 2009-07-10 11:42:51 +02:00
Sebastian Dröge 399d4fcbe7 gio: Try to reuse the pipeline with the same stream objects 2009-07-08 17:19:05 +02:00
Stefan Kost 92ecca7f24 adder: make test more robust
Add audioconverts to the live-seeking test to make it negotiate.
2009-07-06 20:44:00 +01:00
Branko Subasic 55a5679d89 Added unit tests for buffer list support in appsink. 2009-06-29 11:59:47 +02:00
Stefan Kost 6688af35eb adder: test seek handling in adder
This tests seeking on an adder that has a normal and a live source connected.
Wheter the current behavior is the desired one needs to be discussed still
(see #586033)
2009-06-22 22:18:03 +03:00
Wim Taymans 66c388a0e0 rtp: add bufferlist support 2009-06-18 18:51:04 +02:00
Sebastian Dröge 79adfa544d Don't use deprecated GTK API
Fixes bug #585758.
2009-06-15 11:07:10 +02:00
Sebastian Dröge 81a0a98611 Don't use deprecated GTK API
Fixes bug #585758.
2009-06-14 20:32:03 +02:00
Wim Taymans 22cdc527a5 seek: add shuttle controls 2009-06-12 13:55:33 +02:00
Wim Taymans 8e71d0587b example: fix compile 2009-06-12 13:55:02 +02:00
Wim Taymans 54dc7b963f examples: build the stepping2 example 2009-06-12 13:52:25 +02:00
Tim-Philipp Müller 40bea96ff6 subparse: recognise more subrip timestamp variants
Be even less restrictive in what we accept for .srt timestamps when
typefinding and parsing subrip subtitles and add a unit test for
the 'new' format. Fixes #585197.
2009-06-10 14:41:41 +01:00
Wim Taymans d3d661ec7f examples: add stepping example in PLAYING
Add stepping example in PLAYING, audio is a bit distorted because basesink does
not provide good clipping info yet.
2009-06-08 16:41:58 +02:00
Wim Taymans bed4546fe0 ignore: add new stepping app to ignore 2009-06-03 15:52:54 +02:00
Wim Taymans 1ed7c25cfb examples: add stepping example.
Add an example of using playbin2 and frame stepping to simulate variable rate
playback based on a sine wave.
2009-06-03 15:31:27 +02:00
Wim Taymans ea97973efe add framestepping to playbin2 and seek 2009-06-01 11:31:49 +02:00
Stefan Kost 5f69ffea56 seek: add volume label and sync with sink volume
Look at the volume and have the pulsemixer open at same time. Unfortunately
playbin2 does not emit notify on volume right, so this polls for now.
2009-05-28 09:49:29 +03:00
Stefan Kost a3670c67fa seek: ui improvements
Repaint the window black on expose, as this looks nicer when resizing or using
the expander. Also show time after slider, as this saves a whole line (nice on
small displays).
2009-05-19 16:49:35 +03:00
Stefan Kost 98c93d6722 seek: use parser for mp3 and rename variable 2009-05-18 21:22:36 +03:00
Wim Taymans 46562ff1ca seek: add playbin2 options in expander
Add the playbin2 stream selection options inside an expander to preserve some
space on screen.
2009-05-18 11:08:56 +02:00
Tim-Philipp Müller a18128a3f6 tests: fix audioresample unit test on big endian architectures
Don't hardcode endianness=1234 in the filtercaps, it will cause
pad link failures which will result in the test timing out.
2009-05-12 23:51:08 +01:00
Jan Schmidt e25f281de8 check: Disable the playbin2 for this release, as it is a bit racy.
Disable the test, as per the discussion in #580120. Needs re-enabling
after the release, when playbin2 is fixed.
2009-04-24 18:13:22 +01:00
Tim-Philipp Müller 8efe6108c4 cddabasesrc: fix posting of discid tags after MERGE_MODE_REPLACE_ALL changes in core
Don't use REPLACE_ALL merge mode when that's not really what we want,
as now that REPLACE_ALL actually does what it's supposed to do in
core, we drop tags we wanted to keep, such as the various disc id
tags. Add unit test for this as well. Fixes #579463.
2009-04-19 18:15:28 +01:00
Jan Schmidt a8e3b4cacb check: Add GST_VIDEO_FORMAT_YVYU to the test so it passes. 2009-04-16 00:41:42 +01:00
Jan Schmidt 2f01e624f5 check: Fix the input uri in playbin2 test.
Don't try and use a random file in wim's home directory as a test input
2009-04-16 00:41:42 +01:00
Wim Taymans db20c378e7 seek: handle clock-lost messages
When we receive a clock-lost message we need to pause and play to select a new
clock.
2009-04-10 14:12:53 +02:00
Wim Taymans 4f89685217 check: add a unit test for playbin2
Add unit test for playbin2 and include the refcount test in #577794.
2009-04-10 13:44:40 +02:00
Wim Taymans 4cdfc4b900 check: fix appsink test
Fix the appsink test now that the method signature changed.
2009-04-10 12:27:53 +02:00
Jan Schmidt 033e654172 navigation: Extend the navigation interface
Add support for a set of standard commands that can be queried and executed to
support applications like DVD. Add query construction and parsing functions.
Add new messages that can be sent on the bus to provide notifications related
to commands, multiangle changes, and button highlight activity.
Add some helper functions to parse the existing GstNavigation events that
elements might receive.
Document it all and add unit tests.
2009-04-02 12:21:18 +01:00
Jan Schmidt df660e91c2 ignores: Ignore the videoscale check binary 2009-04-02 12:18:07 +01:00
Tim-Philipp Müller d271c8de53 audioresample: fix negotiation so that upstream can actually fixate to downstream's rate
If one side has a preference for a particular sample rate or set of sample rates, we
should honour this in the caps we advertise and transform to and from, so that elements
actually know about the other side's sample rate preference and can negotiate to it
if supported. Also add unit test for this.
2009-04-01 15:36:38 +01:00
Sebastian Dröge 5545a9704e videoscale: Add some more unit tests 2009-03-28 12:48:04 +01:00
Sebastian Dröge 8bb44e0f32 videoscale: Add a lot of unit tests 2009-03-28 10:25:12 +01:00
Wim Taymans b6fdf68dc0 examples: use new method to set flags
Use the new core method for setting object enum properties by name.
2009-03-24 19:41:06 +01:00
Wim Taymans c081c6b747 seek: print tags from the different tracks 2009-03-24 15:26:57 +01:00
Wim Taymans 20d0351b76 tests: print some more info in the text example
Print both the position and the running_time when the subtitle becomes available
in the application.
2009-03-23 16:59:36 +01:00
Wim Taymans 153e07e125 seek: Add some more debug
Add some more info about the selected streams.
2009-03-20 16:13:06 +01:00
Wim Taymans 6174a2643c icles: print better error and warning messages
--
2009-03-18 10:45:50 +01:00
Wim Taymans e8a9b98819 example: use appsink instead of fakesink
Use appsink instead of fakesink to get the subtitles.
Make things more pretty.
2009-03-17 11:30:58 +01:00
Wim Taymans c1d6745c04 examples: add example of intercepting subtitles
Add an example of how to install a custom sink for receiving subtitles in
playbin2.
2009-03-17 11:24:00 +01:00
Wim Taymans eb7b313369 tests: fix include in the appsink test
Fix dist by doing the right include.
2009-03-17 11:03:57 +01:00
Wim Taymans ce9360b9fd examples: fix g_object_set() value type.
Make sure we cast the length value as a gint64 to the vararg g_object_set() just
incase sizeof(gsize) != sizeof(gint64).
2009-03-16 15:31:44 +01:00
Jan Schmidt 8285d7fdb0 check: Ignore alsamixer in the states test too 2009-03-13 15:58:34 +00:00
Wim Taymans 44574b0ca6 examples: add some more sprinkle examples
Add some more sprinle examples and add some more comments.
See #574160.
2009-03-05 12:43:02 +01:00
Wim Taymans 661f2da6e0 Appsink: add padding for callbacks + docs
Add some padding to the callbacks structure just to be safe.

Remove the now invisible marshaller methods from the docs.

Fix a comment in the unit test.
2009-02-26 11:42:44 +01:00
Wim Taymans 9899c1d5ce sprinkle: Add another example app
Add an example app that dynamically adds and removes audiotestsrc elements from
adder.
2009-02-25 17:08:24 +01:00
Wim Taymans 7cdf04fe21 stress-playbin: print the current uri
Print the current uri so that we can more easily see what uri caused a crash or
error.
2009-02-25 12:07:43 +01:00
Wim Taymans 4d30e3ff2c Print the errors more clearly
Print some more verbose messages when dealing with errors.
2009-02-25 11:07:20 +01:00
Mark Nauwelaerts 30f0b8171f stress-playbin: make more flexible, e.g. also useful for playbin2 2009-02-24 13:30:07 +01:00
Sebastian Dröge f14015567b Correctly cast to GstBuffer * before passing to gst_buffer_(copy|unref) 2009-02-22 19:20:40 +01:00
Edward Hervey 83fe624025 tests: Fix indentation 2009-02-22 13:43:35 +01:00
Wim Taymans e5d8551552 Add method to install callbacks on appsink
Based on pacth by Martin Samuelsson <martin dot samuelsson at axis dot com>
Fixes #571299.

Add gst_app_sink_set_callbacks() to install a set of callbacks. This is a more
performant alternative to connecting to the signals.

Add a unit test for appsink.

Clean up some of the appsink docs.

API: GstAppSink::gst_app_sink_set_callbacks()
2009-02-19 10:44:31 +01:00
Tim-Philipp Müller 95d6fb0501 pbutils: remove duplicate detail strings when calling the external codec installer
It doesn't make sense to ask installers for the same codec or element twice, so filter out duplicate requests before calling the external helper script and make the unit test check this works right. Fixes #567636.
2009-02-02 17:34:23 +00:00
Jan Schmidt 63c9ede3d0 Extend and clean up git ignores 2009-01-23 23:16:11 +00:00
Sebastian Dröge 5dfcb63252 Rename files and types from speexresample to audioresample
Rename files and types from speexresample to audioresample
to finish the move and to prevent any confusion.
2009-01-23 12:33:41 +01:00
Wim Taymans 9ce042e2a7 Avoid overflows in the padding checks by doing the check slightly
differently.
Add a unit test to check for correct behaviour.
2009-01-21 13:09:29 +01:00
Wim Taymans 15583abf25 tests/examples/app/appsrc_ex.c: Some comments.
Original commit message from CVS:
* tests/examples/app/appsrc_ex.c: (main):
Some comments.
When pulling a buffer we can get NULL when the element is EOS, don't try
to unref this NULL buffer.
2009-01-06 10:50:37 +00:00
Jan Schmidt 08393941a8 Move AppSrc/AppSink from gst-plugins-bad. Fixes #564421
Original commit message from CVS:
* configure.ac:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
* docs/plugins/inspect/plugin-app.xml:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c:
* tests/examples/Makefile.am:
* tests/examples/app/Makefile.am:
Move AppSrc/AppSink from gst-plugins-bad. Fixes #564421
2009-01-05 23:04:57 +00:00
Alessandro Decina 8b0fadc2ff Make the seek and colorkey examples depend on gtk+-x11 as they use
Original commit message from CVS:
* configure.ac:
* tests/examples/seek/Makefile.am:
* tests/icles/Makefile.am:
Make the seek and colorkey examples depend on gtk+-x11 as they use
GDK_WINDOW_XID.
Fixes the build with gtk+-quartz.
2009-01-02 15:04:13 +00:00
Wim Taymans 24685b5df0 examples/app/: Fix example to unref after emiting the push-buffer action.
Original commit message from CVS:
* examples/app/appsrc-ra.c: (feed_data):
* examples/app/appsrc-seekable.c: (feed_data):
* examples/app/appsrc-stream.c: (read_data):
* examples/app/appsrc-stream2.c: (feed_data):
Fix example to unref after emiting the push-buffer action.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_push_buffer_full), (gst_app_src_push_buffer),
(gst_app_src_push_buffer_action):
Don't take the ref on the buffer in push-buffer action because it's too
awkward for bindings. Fixes #564482.
2008-12-15 12:02:26 +00:00
Edward Hervey c5ae184910 gst-libs/gst/cdda/gstcddabasesrc.c: Remove erroneous gst_buffer_ref().
Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_handle_event):
Remove erroneous gst_buffer_ref().
* tests/check/libs/rtp.c: (GST_START_TEST):
Don't forget to unref the buffer once you're done with it.
2008-12-12 19:41:28 +00:00
Wim Taymans 93e5a373ea tests/check/pipelines/theoraenc.c: Pushing 10 buffers is enough to run the test.
Original commit message from CVS:
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
Pushing 10 buffers is enough to run the test.
2008-12-11 10:33:48 +00:00
Wim Taymans 029f358f80 tests/examples/seek/seek.c: Hook up the SKIP seek flag.
Original commit message from CVS:
* tests/examples/seek/seek.c: (do_seek), (stop_cb),
(skip_toggle_cb), (rate_spinbutton_changed_cb), (msg_segment_done),
(main):
Hook up the SKIP seek flag.
2008-12-11 10:28:43 +00:00
Olivier Crete 3c9df39c15 gst-libs/gst/rtp/gstrtcpbuffer.*: Implement gst_rtcp_packet_remove(). Fixes #563174.
Original commit message from CVS:
Patch by: Olivier Crete  <tester at tester ca>
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_packet_remove):
* gst-libs/gst/rtp/gstrtcpbuffer.h:
Implement gst_rtcp_packet_remove(). Fixes #563174.
* tests/check/libs/rtp.c: (GST_START_TEST), (rtp_suite):
Add unit test for some RTCP functions.
2008-12-08 12:08:32 +00:00
Sebastian Dröge 153406eef5 Rename the moved speexresample to audioresample, integrate into the build system and remove the old audioresample fro...
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
* gst/speexresample/gstspeexresample.c: (plugin_init):
* gst/speexresample/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/speexresample.c: (setup_speexresample),
(GST_START_TEST), (test_pipeline):
Rename the moved speexresample to audioresample, integrate into the
build system and remove the old audioresample from the build system.
Fixes bug #558124, #385061, #346218, #116051.
2008-11-27 16:57:09 +00:00
Sebastian Dröge ecf6fe6455 tests/check/elements/speexresample.c: Make unit test again faster to prevent timeouts with valgrind.
Original commit message from CVS:
* tests/check/elements/speexresample.c: (test_pipeline):
Make unit test again faster to prevent timeouts with valgrind.
2008-11-25 16:37:50 +00:00
Jon Trowbridge 0bdeaae59e gst/volume/gstvolume.*: Cleanup volume, define and use default values.
Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_update_volume), (gst_volume_set_volume),
(gst_volume_get_volume), (gst_volume_set_mute),
(gst_volume_class_init), (gst_volume_init),
(volume_process_double), (volume_process_float),
(volume_process_int32), (volume_process_int32_clamp),
(volume_process_int24), (volume_process_int24_clamp),
(volume_process_int16), (volume_process_int16_clamp),
(volume_process_int8), (volume_process_int8_clamp), (volume_setup),
(volume_transform_ip), (volume_set_property),
(volume_get_property):
* gst/volume/gstvolume.h:
Cleanup volume, define and use default values.
Recalculate new volume and mute setup before processing. Fixes #561789.
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
Add controller unit test. Patch by: Jonathan Matthew
Fix bogus test that messed with basetransform's internal state.
2008-11-24 12:03:11 +00:00
Sebastian Dröge f31ea1e221 tests/check/elements/speexresample.c: Make the unit test a bit faster to prevent timeouts, especially with valgrind.
Original commit message from CVS:
* tests/check/elements/speexresample.c: (GST_START_TEST):
Make the unit test a bit faster to prevent timeouts, especially
with valgrind.
2008-11-22 15:02:15 +00:00
Sebastian Dröge b2cbf8f91d tests/check/elements/speexresample.c: Add pipeline unit tests for testing all supported formats with up/downsampling ...
Original commit message from CVS:
* tests/check/elements/speexresample.c: (element_message_cb),
(eos_message_cb), (test_pipeline), (GST_START_TEST),
(speexresample_suite):
Add pipeline unit tests for testing all supported formats with
up/downsampling and different in/outrates.
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_push_drain), (gst_speex_resample_process):
* gst/speexresample/speex_resampler_wrapper.h:
Fix bugs identified by the testsuite.
2008-10-30 14:46:31 +00:00
Sebastian Dröge d80b5c4aae Add support for double samples as input and refactor the usage of the different compilation flavors of the speex resa...
Original commit message from CVS:
* gst/speexresample/Makefile.am:
* gst/speexresample/arch.h:
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_stop),
(gst_speex_resample_get_unit_size), (gst_speex_resample_get_funcs),
(gst_speex_resample_init_state), (gst_speex_resample_update_state),
(gst_speex_resample_reset_state), (gst_speex_resample_parse_caps),
(_gcd), (gst_speex_resample_transform_size),
(gst_speex_resample_set_caps), (gst_speex_resample_push_drain),
(gst_speex_resample_process), (gst_speex_resample_transform),
(gst_speex_resample_query), (gst_speex_resample_set_property):
* gst/speexresample/gstspeexresample.h:
* gst/speexresample/resample.c:
* gst/speexresample/speex_resampler.h:
* gst/speexresample/speex_resampler_double.c:
* gst/speexresample/speex_resampler_wrapper.h:
* tests/check/elements/speexresample.c: (setup_speexresample),
(test_perfect_stream_instance), (GST_START_TEST),
(test_discont_stream_instance):
Add support for double samples as input and refactor the usage
of the different compilation flavors of the speex resampler.
2008-10-30 12:43:44 +00:00
Sebastian Dröge f5b4fa17ff gst/speexresample/gstspeexresample.*: Rewrite timestamp tracking to make it more robust and guarantee a continous str...
Original commit message from CVS:
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_start),
(gst_speex_resample_get_unit_size),
(gst_speex_resample_push_drain), (gst_speex_resample_event),
(gst_speex_resample_check_discont), (gst_speex_resample_process),
(gst_speex_resample_transform):
* gst/speexresample/gstspeexresample.h:
Rewrite timestamp tracking to make it more robust and guarantee
a continous stream.
* tests/check/Makefile.am:
* tests/check/elements/speexresample.c: (setup_speexresample),
(cleanup_speexresample), (fail_unless_perfect_stream),
(test_perfect_stream_instance), (GST_START_TEST),
(test_discont_stream_instance), (live_switch_alloc_only_48000),
(live_switch_get_sink_caps), (live_switch_push),
(speexresample_suite):
Add unit tests for speexresample based on the audioresample unit tests.
2008-10-29 12:11:20 +00:00
Stefan Kost 6b3c69fa01 Allow setting colorkey if possible. Implement property probe interface for optional X features (autopaint-colorkey, d...
Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
* sys/xvimage/xvimagesink.h:
* tests/icles/Makefile.am:
* tests/icles/test-colorkey.c:
Allow setting colorkey if possible. Implement property probe interface
for optional X features (autopaint-colorkey, double-buffer and
colorkey). Fixes #554533
2008-10-22 12:25:02 +00:00
Wim Taymans 4c2f85f96c tests/icles/.cvsignore: update ignore file.
Original commit message from CVS:
* tests/icles/.cvsignore:
update ignore file.
* tests/icles/Makefile.am:
* tests/icles/test-box.c: (make_pipeline), (main):
Add another interactive command line experimentation suite for
dynamically boxing/cropping/saling an input video.
2008-10-20 13:45:55 +00:00
Sebastian Dröge 60bf63486b Add support for subtitle files with UTF-8 BOM at the beginning by simple stripping it from the first line before pass...
Original commit message from CVS:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect), (handle_buffer),
(gst_sub_parse_change_state):
* gst/subparse/gstsubparse.h:
* tests/check/elements/subparse.c: (GST_START_TEST):
Add support for subtitle files with UTF-8 BOM at the beginning
by simple stripping it from the first line before passing it
to any parsing code. Fixes bug #555257 and playback of files
created by Gnome Subtitles.
2008-10-10 17:13:40 +00:00
Sebastian Dröge b735321f58 Make the detection of the used subtitle a bit less strict for srt subtitles. Fixes bug #555607.
Original commit message from CVS:
Based on a patch by: xavierb at gmail dot com
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect):
* tests/check/elements/subparse.c: (GST_START_TEST):
Make the detection of the used subtitle a bit less strict
for srt subtitles. Fixes bug #555607.
2008-10-10 15:32:10 +00:00
Jan Schmidt c3dfad8ff8 tests/icles/Makefile.am: Only build test-colorkey if GTK+ is available.
Original commit message from CVS:
* tests/icles/Makefile.am:
Only build test-colorkey if GTK+ is available.
2008-10-03 15:19:40 +00:00
Stefan Kost fb3d85f292 sys/xvimage/xvimagesink.*: Add a "draw-border" property that can be set to false to disable drawing borders.
Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
* sys/xvimage/xvimagesink.h:
Add a "draw-border" property that can be set to false to disable
drawing borders.
* tests/icles/test-colorkey.c:
* tests/icles/Makefile.am:
Add new test application for the colorkey handling.
2008-09-04 13:46:52 +00:00
Stefan Kost 1875564b65 Rework last change, so that we build subparse, but just disable the sami parse functionality, if we're configured to ...
Original commit message from CVS:
* configure.ac:
* gst/subparse/Makefile.am:
* gst/subparse/gstsubparse.c:
* gst/subparse/samiparse.c:
* tests/check/elements/subparse.c:
Rework last change, so that we build subparse, but just disable the
sami parse functionality, if we're configured to not use xml. In the
tests only the sami test is disabled now.
2008-09-03 10:12:04 +00:00
Stefan Kost 54acaa5706 Use new geo location tags from core. Fixes #481169
Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c:
* tests/check/libs/tag.c:
Use new geo location tags from core. Fixes #481169
2008-09-02 06:37:04 +00:00
Edward Hervey 162cb885c6 tests/check/elements/audioresample.c: Now that GstBaseTransform is 'fixed' ... remove cruft from tests.
Original commit message from CVS:
* tests/check/elements/audioresample.c: (setup_audioresample),
(fail_unless_perfect_stream), (test_perfect_stream_instance),
(test_discont_stream_instance):
Now that GstBaseTransform is 'fixed' ... remove cruft from tests.
Add debugging for coherence.
2008-09-01 16:05:45 +00:00
Stefan Kost ca5d4c1fcb tests/examples/seek/seek.c: Don't crash when having no visualisations.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Don't crash when having no visualisations.
2008-08-21 11:20:36 +00:00
Stefan Kost e5fd110c34 tests/icles/test-scale.c: Include <stdlib.h> for atoi().
Original commit message from CVS:
* tests/icles/test-scale.c:
Include <stdlib.h> for atoi().
2008-08-04 12:35:07 +00:00
Wim Taymans 0667fb7e25 tests/examples/dynamic/: Add example app that dynamically switches between 3 'encoders'.
Original commit message from CVS:
* tests/examples/dynamic/Makefile.am:
* tests/examples/dynamic/codec-select.c: (make_encoder),
(make_pipeline), (do_switch), (my_bus_callback), (main):
Add example app that dynamically switches between 3 'encoders'.
2008-08-01 11:14:49 +00:00
Wim Taymans d36a6ed2cd tests/icles/: Add dynamic rescaling tests for the new basetransform.
Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/test-scale.c: (make_pipeline), (main):
Add dynamic rescaling tests for the new basetransform.
2008-07-31 11:39:44 +00:00
Stefan Kost 99fdf0d770 tests/examples/seek/seek.c: Use 64 bit constant GST_CLOCK_TIME_NONE instead of plain -1.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Use 64 bit constant GST_CLOCK_TIME_NONE instead of plain -1.
2008-07-24 13:19:26 +00:00
Sebastian Dröge e4a3ac2c8c tests/examples/seek/Makefile.am: Fix out of tree build by adding all required CFLAGS.
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
Fix out of tree build by adding all required CFLAGS.
2008-07-07 17:25:41 +00:00
Sebastian Dröge 59a0c5373d tests/check/: Enable unit tests on PPC again as the bugs are now fixed.
Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Enable unit tests on PPC again as the bugs are now fixed.
2008-06-30 09:46:15 +00:00
Stefan Kost 2734b6da77 ChangeLog: ChangeLog surgery.
Original commit message from CVS:
* ChangeLog:
ChangeLog surgery.
* tests/examples/seek/seek.c:
Move variable into ifdef too.
2008-06-27 07:55:40 +00:00
Stefan Kost 724c8a3711 tests/examples/seek/seek.c: Include config.h and check if we have X. Fixes: #540334.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Include config.h and check if we have X. Fixes: #540334.
2008-06-27 07:42:07 +00:00
Stefan Kost 0d4409ce49 tests/examples/seek/: Remove libgstvideo usage. Use gtk_get_option_group instead of gtk_init().
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
* tests/examples/seek/seek.c:
Remove libgstvideo usage. Use gtk_get_option_group instead of
gtk_init().
2008-06-25 13:15:50 +00:00
Stefan Kost 21ade62c0b tests/check/Makefile.am: Name the test registry format neutral.
Original commit message from CVS:
* tests/check/Makefile.am:
Name the test registry format neutral.
2008-06-24 16:27:35 +00:00
Stefan Kost 7922f23bbf tests/examples/seek/: Embedd the xwindow.
Original commit message from CVS:
* tests/examples/seek/Makefile.am:
* tests/examples/seek/seek.c:
Embedd the xwindow.
2008-06-24 16:05:06 +00:00
Jan Schmidt 4b5e729246 sys/ximage/ximagesink.h: When the caps change, make sure to re-draw borders in force-aspect-ratio=true mode.
Original commit message from CVS:
* sys/ximage/ximagesink.c (gst_ximagesink_ximage_put),
(gst_ximagesink_setcaps):
* sys/ximage/ximagesink.h:
When the caps change, make sure to re-draw borders in
force-aspect-ratio=true mode.
* sys/xvimage/xvimagesink.c (gst_xvimagesink_xvimage_put):
Don't clear the border_draw flag until we actually draw the border.
* tests/check/Makefile.am:
Ignore alsasink/src during the states test too, so it doesn't fail
when running without access to the sound device.
2008-06-24 01:14:40 +00:00
Stefan Kost 540a3816e4 tests/examples/seek/seek.c: Fix crasher when playing a parse-launch line the 2nd time.
Original commit message from CVS:
* tests/examples/seek/seek.c:
Fix crasher when playing a parse-launch line the 2nd time.
2008-06-22 18:35:27 +00:00
Thomas Vander Stichele f43a3f6acc tests/check/pipelines/oggmux.c: Properly ifdef tests to fix compilation.
Original commit message from CVS:
* tests/check/pipelines/oggmux.c:
Properly ifdef tests to fix compilation.
2008-06-21 18:56:08 +00:00
Wim Taymans 24770f8f62 tests/examples/seek/seek.c: Free and clear the seek element list so that we don't use invalid references when seeking...
Original commit message from CVS:
* tests/examples/seek/seek.c: (stop_cb):
Free and clear the seek element list so that we don't use invalid
references when seeking after recreating a gst-launch line.
2008-06-20 09:14:26 +00:00
Wim Taymans 9f64251ff1 examples/app/appsink-src.c: Don't use a buffer after unreffing it.
Original commit message from CVS:
* examples/app/appsink-src.c: (on_new_buffer_from_source):
Don't use a buffer after unreffing it.
2008-06-19 11:25:37 +00:00
Stefan Kost 473352395f Fix gtk-doc warnings. Also don't misuse api-doc comments for normal comments.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* examples/app/appsrc-ra.c:
* examples/app/appsrc-seekable.c:
* examples/app/appsrc-stream.c:
* examples/app/appsrc-stream2.c:
* ext/directfb/dfbvideosink.h:
* ext/metadata/gstbasemetadata.c:
* ext/metadata/gstbasemetadata.h:
* ext/metadata/metadata.c:
* ext/metadata/metadataexif.c:
* ext/theora/theoradec.h:
* gst/deinterlace2/gstdeinterlace2.h:
* gst/deinterlace2/tvtime/speedy.c:
* gst/deinterlace2/tvtime/speedy.h:
* gst/deinterlace2/tvtime/vfir.c:
Fix gtk-doc warnings. Also don't misuse api-doc comments for normal
comments.
2008-06-18 06:31:11 +00:00
Wim Taymans c30d479783 examples/app/: Add beefed up example app from bug #413418. It now also uses appsink instead of fakesink for more ulti...
Original commit message from CVS:
* examples/app/.cvsignore:
* examples/app/Makefile.am:
* examples/app/appsink-src.c: (on_new_buffer_from_source),
(on_source_message), (on_sink_message), (main):
Add beefed up example app from bug #413418. It now also uses appsink
instead of fakesink for more ultimate coolness.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_unlock),
(gst_app_src_unlock_stop), (gst_app_src_create),
(gst_app_src_set_max_bytes), (gst_app_src_push_buffer),
(gst_app_src_end_of_stream):
* gst-libs/gst/app/gstappsrc.h:
Add block property to allow push based implementation to block when we
fill up the appsrc queues.
Emit the enough-data signal while releasing our lock.
2008-06-12 15:47:03 +00:00
Stefan Kost 0375b4a6b3 examples/app/.cvsignore: Ignore more.
Original commit message from CVS:
* examples/app/.cvsignore:
Ignore more.
2008-06-12 14:50:27 +00:00
Wim Taymans 593d4b1af3 examples/app/: Added 3 more example application for using appsrc in random-access mode, pull-mode streaming and pull ...
Original commit message from CVS:
* examples/app/Makefile.am:
* examples/app/appsrc-ra.c: (feed_data), (seek_data),
(found_source), (bus_message), (main):
* examples/app/appsrc-seekable.c: (feed_data), (seek_data),
(found_source), (bus_message), (main):
* examples/app/appsrc-stream2.c: (feed_data), (found_source),
(bus_message), (main):
Added 3 more example application for using appsrc in random-access mode,
pull-mode streaming and pull mode seekable.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_start), (gst_app_src_do_get_size),
(gst_app_src_create):
* gst-libs/gst/app/gstappsrc.h:
Make stream-type property writable.
Unset flushing when starting so that we reuse appsrc.
Inform basesrc about the configured size.
Emit seek-data signal when we are going to a different offset in
random-access mode.
2008-06-06 16:50:51 +00:00
Wim Taymans 1cb26cc0e0 examples/app/appsrc-stream.c: Use deep-notify until we can depend on a playbin2 with support for the source property.
Original commit message from CVS:
* examples/app/appsrc-stream.c: (found_source), (main):
Use deep-notify until we can depend on a playbin2 with support for the
source property.
2008-06-06 14:19:54 +00:00
Wim Taymans 20d64607d4 examples/app/: Added an example on how to use appsrc in playbin in streaming mode from an mmapped file.
Original commit message from CVS:
* examples/app/.cvsignore:
* examples/app/Makefile.am:
* examples/app/appsrc-stream.c: (read_data), (start_feed),
(stop_feed), (found_source), (bus_message), (main):
Added an example on how to use appsrc in playbin in streaming mode from
an mmapped file.
* examples/app/appsrc_ex.c: (main):
Set pipeline to NULL to free queued buffers.
* gst-libs/gst/app/gstapp-marshal.list:
* gst-libs/gst/app/gstappsrc.c: (stream_type_get_type), (_do_init),
(gst_app_src_class_init), (gst_app_src_init),
(gst_app_src_flush_queued), (gst_app_src_dispose),
(gst_app_src_set_property), (gst_app_src_get_property),
(gst_app_src_unlock), (gst_app_src_unlock_stop),
(gst_app_src_start), (gst_app_src_stop), (gst_app_src_is_seekable),
(gst_app_src_check_get_range), (gst_app_src_do_seek),
(gst_app_src_create), (gst_app_src_set_stream_type),
(gst_app_src_get_stream_type), (gst_app_src_set_max_bytes),
(gst_app_src_get_max_bytes), (gst_app_src_push_buffer),
(gst_app_src_end_of_stream), (gst_app_src_uri_get_type),
(gst_app_src_uri_get_protocols), (gst_app_src_uri_get_uri),
(gst_app_src_uri_set_uri), (gst_app_src_uri_handler_init):
* gst-libs/gst/app/gstappsrc.h:
Measure max queue size in bytes instead.
Add support for 3 modes of operation, streaming, seekable and
random-access, making basesrc handle the scheduling modes for each.
Add appsrc:// uri handler so that automatic plugging can be done from
playbin2 or uridecodebin, for example.
Added support for custom segment formats.
Add support for push and pull based operations from the application.
Expand the methods so that errors can be detected.
Flush the queued buffers on seeks and when shutting down.
Add signals to inform the app that a seek must happen.
2008-06-05 16:38:50 +00:00
Peter Kjellerstedt ec07ea9905 tests/check/Makefile.am: Do not try to run the check tests for subparse unless it has been built.
Original commit message from CVS:
* tests/check/Makefile.am:
Do not try to run the check tests for subparse unless it has been
built.
2008-06-04 16:06:49 +00:00
Peter Kjellerstedt 4d05d8ab6b tests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbisenc unless we have actually built...
Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (buffer_probe_cb),
(test_multifdsink_gdp_vorbisenc), (streamheader_suite):
Do not try to run a test which requires vorbisenc unless we have
actually built it.
2008-06-04 16:00:26 +00:00
Sebastian Dröge 0de81029c8 API: Make gst_audio_check_channel_positions() public.
Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions):
* gst-libs/gst/audio/multichannel.h:
API: Make gst_audio_check_channel_positions() public.
* tests/check/libs/audio.c: (GST_START_TEST):
Add some simple checks for gst_audio_check_channel_positions().
2008-06-03 08:48:32 +00:00
Tim-Philipp Müller d868077048 ext/pango/: Use gstvideo functions to calculate strides and plane offsets. Fixes rendering issue ('ghost' images of t...
Original commit message from CVS:
* ext/pango/Makefile.am:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_shade_y),
(gst_text_overlay_blit_yuv420), (gst_text_overlay_push_frame):
Use gstvideo functions to calculate strides and plane offsets. Fixes
rendering issue ('ghost' images of the text on the chroma planes)
with widths or heights that are not multiples of 8 (#506659 and
probably also #485729).
* tests/icles/test-textoverlay.c: (show_text), (test_textoverlay),
(main):
Test with odd height/width too.
2008-06-02 18:37:02 +00:00
Sebastian Dröge fdd708c418 gst/audioconvert/gstaudioconvert.c: Allow up to 11 positioned channels now that audioconvert can handle this but add ...
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(structure_has_fixed_channel_positions),
(gst_audio_convert_transform_caps):
Allow up to 11 positioned channels now that audioconvert can handle
this but add no default positions for > 8 channels.
* tests/check/elements/audioconvert.c: (GST_START_TEST):
Add some unit tests for the above change: Test conversion of
11 positioned channels to stereo and the other way around, test
conversion of 15 unpositioned channels in different ways.
2008-05-30 08:42:17 +00:00
Sebastian Dröge ca7a0b8e9e tests/check/elements/vorbisdec.c: Remove wrong_channels_identification_header unit test as we now support 7 (and more...
Original commit message from CVS:
* tests/check/elements/vorbisdec.c: (vorbisdec_suite):
Remove wrong_channels_identification_header unit test as we now
support 7 (and more channels).
2008-05-29 19:37:47 +00:00
Sebastian Dröge 45ef6b5e13 gst-libs/gst/audio/multichannel.c: Allow rear center together with rear left/right and other previously conflicting c...
Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(gst_audio_fixate_channel_positions):
Allow rear center together with rear left/right and other previously
conflicting channel positions. The reason why they weren't allowed
was the channel mixing implementation in audioconvert.
Also take this into account when fixing channel layouts.
Allow setting channel positions for 1/2 channels when using
gst_audio_set_structure_channel_position().
* gst/audioconvert/gstchannelmix.c:
(gst_channel_mix_fill_compatible), (gst_channel_mix_detect_pos),
(gst_channel_mix_fill_one_other), (gst_channel_mix_fill_others),
(gst_channel_mix_fill_special), (gst_channel_mix_fill_matrix):
Major rewrite of the channel mixing.
We now allow previously	conflicting channel positions to appear
together (rear center and rear left/right for example).
Fixes bug #533817.
Rework the way channels are mixed together to take more possible
channel positions into account, properly mix from/to side channels
and don't assume that either center, left&right or nothing of a
specific position is available anymore.
* tests/check/elements/audioconvert.c: (GST_START_TEST):
Adjust unit tests with non-standard 1/2 channel layouts to the more
correct new behaviour.
Add a unit test for 5.1->Stereo downmixing.
2008-05-29 11:34:09 +00:00
Tim-Philipp Müller b82c4cee0e tests/examples/seek/seek.c: Initialise error to NULL as we should.
Original commit message from CVS:
* tests/examples/seek/seek.c: (make_parselaunch_pipeline):
Initialise error to NULL as we should.
2008-05-28 11:31:44 +00:00
Tim-Philipp Müller 555feaa11b tests/check/pipelines/oggmux.c: Don't use deprecated function.
Original commit message from CVS:
* tests/check/pipelines/oggmux.c: (test_pipeline):
Don't use deprecated function.
2008-05-27 10:57:56 +00:00
Tim-Philipp Müller 5ce4d71f82 tests/check/libs/video.c: More checks.
Original commit message from CVS:
* tests/check/libs/video.c:
More checks.
2008-05-26 10:26:00 +00:00
Tim-Philipp Müller 206f91995b Limit duration to a maximum of five seconds for tmplayer format where we can guess the duration only from the timesta...
Original commit message from CVS:
* gst/subparse/gstsubparse.c: (parser_state_init),
(gst_sub_parse_format_autodetect), (handle_buffer):
* gst/subparse/gstsubparse.h:
* tests/check/elements/subparse.c: (test_tmplayer_style3b):
Limit duration to a maximum of five seconds for tmplayer format where
we can guess the duration only from the timestamp of the next line of
text. We don't want to show a text for eternities just because nothing
else is being said for a while.
2008-05-25 20:51:35 +00:00
Wim Taymans 2cdf18edff Some debug and comment fixes.
Original commit message from CVS:
* ext/vorbis/vorbisdec.c:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_transform):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_show_frame):
Some debug and comment fixes.
* tests/examples/dynamic/addstream.c: (main):
Fix , to ;
2008-05-21 16:44:15 +00:00
Wim Taymans c6b54c3d02 Don't use bad gst_element_get_pad().
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
* gst/playback/decodetest.c: (new_decoded_pad_cb):
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(try_to_link_1), (elem_is_dynamic), (close_link), (type_found),
(cleanup_decodebin):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_init),
(connect_element), (gst_decode_group_control_demuxer_pad):
* gst/playback/gstplaybasebin.c: (queue_remove_probe),
(queue_out_of_data), (gen_preroll_element), (preroll_unlinked),
(mute_group_type):
* gst/playback/gstplaybin.c: (gst_play_bin_vis_blocked),
(gst_play_bin_set_property), (handoff), (gen_video_element),
(gen_text_element), (gen_audio_element), (gen_vis_element),
(remove_sinks), (add_sink), (setup_sinks):
* gst/playback/gstplaybin2.c: (pad_added_cb), (no_more_pads_cb):
* gst/playback/gstplaysink.c: (gst_play_sink_get_video_sink),
(gst_play_sink_get_audio_sink), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_vis_plugin),
(gst_play_sink_get_vis_plugin), (gst_play_sink_set_mute),
(gen_video_chain), (gen_text_chain), (gen_audio_chain),
(gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_set_font_desc), (gst_play_sink_get_font_desc),
(gst_play_sink_request_pad):
* gst/playback/gsturidecodebin.c: (type_found), (setup_source):
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(cb_newpad):
* gst/playback/test6.c: (new_decoded_pad_cb):
* tests/check/elements/audioconvert.c: (GST_START_TEST):
* tests/check/elements/audiorate.c: (test_injector_chain),
(do_perfect_stream_test):
* tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/gnomevfssink.c:
* tests/check/elements/textoverlay.c:
(notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2):
* tests/check/elements/videotestsrc.c: (GST_START_TEST):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (test_pipeline):
* tests/check/pipelines/streamheader.c: (GST_START_TEST):
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
* tests/examples/seek/scrubby.c: (make_wav_pipeline):
* tests/examples/seek/seek.c: (make_mod_pipeline),
(make_dv_pipeline), (make_wav_pipeline), (make_flac_pipeline),
(make_sid_pipeline), (make_parse_pipeline), (make_vorbis_pipeline),
(make_theora_pipeline), (make_vorbis_theora_pipeline),
(make_avi_msmpeg4v3_mp3_pipeline), (make_mp3_pipeline),
(make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline),
(update_fill), (msg_buffering):
Don't use bad gst_element_get_pad().
2008-05-21 16:36:50 +00:00
Sebastian Dröge 74d46a9977 tests/check/elements/audioconvert.c: Add another test that checks if conversion between standard 1 and 2 channel layo...
Original commit message from CVS:
* tests/check/elements/audioconvert.c: (GST_START_TEST):
Add another test that checks if conversion between standard 1 and 2
channel layouts with and without positions set is working.
2008-05-21 07:46:02 +00:00
Sebastian Dröge d03bbd1e3e gst-libs/gst/audio/multichannel.c: Allow non-standard 2 channel layouts.
Original commit message from CVS:
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions):
Allow non-standard 2 channel layouts.
* tests/check/elements/audioconvert.c: (GST_START_TEST):
Add some tests for converting and remapping non-standard 1 and 2
channel layouts.
2008-05-21 07:39:56 +00:00
Wim Taymans 86ab51207b gst-libs/gst/rtp/gstbasertpdepayload.c: Validate the RTP packet before further processing it. It's just too dangerous...
Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_chain):
Validate the RTP packet before further processing it. It's just too
dangerous to accept random packets and people are not forced to use a
jitterbuffer or session manager to filter out the bad packets.
* gst-libs/gst/rtp/gstrtpbuffer.c:
(gst_rtp_buffer_set_extension_data),
(gst_rtp_buffer_get_payload_subbuffer):
Small cleanups.
When setting extension data in a buffer that is too small, we fail and
we should not set the extension bit.
Change GST_WARNINGS into g_warning because they really are
programming errors.
* tests/check/libs/rtp.c: (GST_START_TEST):
Catch the g_warnings now in the unit tests and that fact that failing to
set extension data left the extension bit untouched.
2008-05-14 20:28:02 +00:00
Bernard B d06df554a9 gst-libs/gst/rtp/gstrtpbuffer.c: Fix seqnum compare function for bordercase values and fix the docs again. Fixes #533...
Original commit message from CVS:
Patch by: Bernard B <b-gnome at largestprime dot net>
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_compare_seqnum):
Fix seqnum compare function for bordercase values and fix the docs
again. Fixes #533075.
* tests/check/libs/rtp.c: (GST_START_TEST), (rtp_suite):
Add a testcase for seqnum compare function.
2008-05-14 13:43:12 +00:00
Sjoerd Simons fd84ec0ca3 tests/check/elements/audioresample.c: Add unit test for the latest basetransform negotiation changes.
Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* tests/check/elements/audioresample.c:
(live_switch_alloc_only_48000), (live_switch_get_sink_caps),
(live_switch_push), (GST_START_TEST):
Add unit test for the latest basetransform negotiation changes.
See bug #526768.
2008-05-13 10:59:49 +00:00
Sjoerd Simons 09163ca363 gst/audioresample/gstaudioresample.c: Let audioresample use the buffer allocation of basetransform instead of it's ow...
Original commit message from CVS:
Patch by: Sjoerd Simons <sjoerd at luon dot net>
* gst/audioresample/gstaudioresample.c: (gst_audioresample_init):
Let audioresample use the buffer allocation of basetransform instead
of it's own stuff.
* tests/check/elements/audioresample.c: (alloc_only_48000),
(GST_START_TEST), (audioresample_suite):
Add unit test for the recent basetransform bugfix, where upstream
changes caps to something that can't be passed through anymore.
2008-05-08 06:20:42 +00:00
Tim-Philipp Müller fd54092a2a gst/audioconvert/: Add support for more than 8 channels and NONE channel layouts. For more than 8 channels no channel...
Original commit message from CVS:
Based on a patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
* gst/audioconvert/audioconvert.c: (audio_convert_prepare_context):
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_parse_caps),
(structure_has_fixed_channel_positions),
(gst_audio_convert_transform_caps):
* gst/audioconvert/gstchannelmix.c: (gst_channel_mix_fill_matrix):
Add support for more than 8 channels and NONE channel layouts. For
more than 8 channels no channel conversion is supported yet, only
format conversions are supported. Fixes bug #398033.
* tests/check/elements/audioconvert.c: (verify_convert),
(GST_START_TEST), (audioconvert_suite):
Add some unit tests by Tim for checking the NONE channel layouts
and more than 8 channels and add some more unit tests for channel
conversions.
2008-05-06 12:12:16 +00:00
Sebastian Dröge 9333eb4899 gst/subparse/samiparse.c: Remove trailing, leading and double whitespaces.
Original commit message from CVS:
* gst/subparse/samiparse.c: (handle_start_sync),
(end_sami_element), (characters_sami):
Remove trailing, leading and double whitespaces.
Correctly timestamp buffers and output the last buffer too.
* tests/check/elements/subparse.c: (GST_START_TEST),
(subparse_suite):
Add a simple unit test for SAMI parsing.
2008-05-05 12:33:05 +00:00
Tim-Philipp Müller 1157de776a tests/check/elements/subparse.c: Add unit test for the tmplayer variant from bug #530962.
Original commit message from CVS:
* tests/check/elements/subparse.c: (do_test),
(test_tmplayer_style3b), (subparse_suite):
Add unit test for the tmplayer variant from bug #530962.
2008-05-03 16:00:04 +00:00
Tim-Philipp Müller 96a3780816 gst-libs/gst/video/video.c: Add guards to these functions to ensure sane input values.
Original commit message from CVS:
* gst-libs/gst/video/video.c: (gst_video_format_new_caps),
(gst_video_format_to_fourcc), (gst_video_format_get_row_stride),
(gst_video_format_get_pixel_stride),
(gst_video_format_get_component_width),
(gst_video_format_get_component_height),
(gst_video_format_get_component_offset), (gst_video_format_get_size),
(gst_video_format_convert):
Add guards to these functions to ensure sane input values.
* tests/check/libs/video.c:
Fix unit test not to create caps with width=0 and height=0.
2008-04-11 17:13:52 +00:00
Wim Taymans f0738f6fd3 docs/design/draft-keyframe-force.txt: Fix typo.
Original commit message from CVS:
* docs/design/draft-keyframe-force.txt:
Fix typo.
* gst/playback/gstqueue2.c: (update_buffering),
(gst_queue_handle_src_query):
Set buffering mode in the messages.
Set buffering percent in the query.
* tests/examples/seek/seek.c: (update_fill), (msg_state_changed),
(do_stream_buffering), (do_download_buffering), (msg_buffering):
Do some more fancy things based on the buffering method in use.
2008-04-11 01:25:01 +00:00
Wim Taymans ab83d90639 tests/examples/seek/seek.c: Add basic download reports to seek using the new buffering API.
Original commit message from CVS:
* tests/examples/seek/seek.c: (update_fill), (set_update_fill),
(play_cb), (pause_cb), (stop_cb), (msg_state_changed),
(msg_buffering), (main):
Add basic download reports to seek using the new buffering API.
2008-04-09 21:42:24 +00:00
Wim Taymans 6fcf33221f tests/examples/seek/seek.c: Add statusbar.
Original commit message from CVS:
* tests/examples/seek/seek.c: (play_cb), (pause_cb), (stop_cb),
(msg_buffering), (connect_bus_signals), (main):
Add statusbar.
Add buffering support with feedback in the statusbar.
2008-04-03 16:10:53 +00:00
Wim Taymans f7d8a9a68c tests/examples/seek/seek.c: Rearrange some buttons in playbin2 and make some other boxes insensitive when needed.
Original commit message from CVS:
* tests/examples/seek/seek.c: (audio_toggle_cb), (video_toggle_cb),
(text_toggle_cb), (update_streams), (main):
Rearrange some buttons in playbin2 and make some other boxes insensitive
when needed.
Add language codes to subtitle selection boxes when we gind the right
tags for the streams.
2008-03-24 11:46:15 +00:00
Tim-Philipp Müller 84c8a873f9 tests/check/elements/gdpdepay.c: Make test compile without unused function/variable warnings on PPC.
Original commit message from CVS:
* tests/check/elements/gdpdepay.c:
Make test compile without unused function/variable warnings on PPC.
2008-03-23 13:12:41 +00:00
Tim-Philipp Müller a0de863603 gst-libs/gst/video/video.c: Fix gst_video_format_parse_caps() for RGB caps with alpha channel (#522635).
Original commit message from CVS:
* gst-libs/gst/video/video.c: (gst_video_format_parse_caps),
(gst_video_format_from_rgba32_masks):
Fix gst_video_format_parse_caps() for RGB caps with alpha channel
(#522635).
* tests/check/libs/video.c: (test_parse_caps_rgb), (video_suite):
Add unit test for the RGB caps parsing and creation, checking for
internal consistency of the new API and consistency of the API with
the old GST_VIDEO_CAPS_* defines.
2008-03-17 10:32:28 +00:00
Tim-Philipp Müller e8c69d59ca tests/check/libs/mixer.c: Add a few simple checks for the new message types.
Original commit message from CVS:
* tests/check/libs/mixer.c:
Add a few simple checks for the new message types.
2008-03-03 13:59:19 +00:00
Sebastian Dröge ec7afb6f84 Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...
Original commit message from CVS:
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_get_type):
* ext/alsa/gstalsasink.c: (set_hwparams):
* ext/alsa/gstalsasrc.c: (set_hwparams):
* ext/gio/gstgio.c: (gst_gio_uri_handler_get_uri):
* ext/ogg/gstoggmux.h:
* ext/ogg/gstogmparse.c:
* gst-libs/gst/audio/audio.c:
* gst-libs/gst/fft/kiss_fft_f64.c: (kiss_fft_f64_alloc):
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new):
* gst-libs/gst/rtp/gstbasertppayload.c:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
(gst_rtcp_packet_bye_get_reason):
* gst/audioconvert/gstaudioconvert.c:
* gst/audioresample/gstaudioresample.c:
* gst/ffmpegcolorspace/imgconvert.c:
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/typefind/gsttypefindfunctions.c:
* gst/videoscale/vs_4tap.c:
* gst/videoscale/vs_4tap.h:
* sys/v4l/gstv4lelement.c:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get_any_caps):
* sys/v4l/v4l_calls.c:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init),
(gst_v4lsrc_try_capture):
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new):
* tests/check/elements/audioconvert.c:
* tests/check/elements/audioresample.c:
(fail_unless_perfect_stream):
* tests/check/elements/audiotestsrc.c: (setup_audiotestsrc):
* tests/check/elements/decodebin.c:
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(setup_gdpdepay_streamheader):
* tests/check/elements/gdppay.c: (setup_gdppay), (GST_START_TEST),
(setup_gdppay_streamheader):
* tests/check/elements/gnomevfssink.c: (setup_gnomevfssink):
* tests/check/elements/multifdsink.c: (setup_multifdsink):
* tests/check/elements/textoverlay.c:
* tests/check/elements/videorate.c: (setup_videorate):
* tests/check/elements/videotestsrc.c: (setup_videotestsrc):
* tests/check/elements/volume.c: (setup_volume):
* tests/check/elements/vorbisdec.c: (setup_vorbisdec):
* tests/check/elements/vorbistag.c:
* tests/check/generic/clock-selection.c:
* tests/check/generic/states.c: (setup), (teardown):
* tests/check/libs/cddabasesrc.c:
* tests/check/libs/video.c:
* tests/check/pipelines/gio.c:
* tests/check/pipelines/oggmux.c:
* tests/check/pipelines/simple-launch-lines.c:
(simple_launch_lines_suite):
* tests/check/pipelines/streamheader.c:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisdec.c:
* tests/check/pipelines/vorbisenc.c:
* tests/examples/seek/scrubby.c:
* tests/examples/seek/seek.c: (query_positions_elems),
(query_positions_pads):
* tests/icles/stress-xoverlay.c: (myclock):
Correct all relevant warnings found by the sparse semantic code
analyzer. This include marking several symbols static, using
NULL instead of 0 for pointers and using "foo (void)" instead
of "foo ()" for declarations.
* win32/common/libgstrtp.def:
Add gst_rtp_buffer_set_extension_data to the symbol definition file.
2008-03-03 06:04:31 +00:00
Tim-Philipp Müller f82c6ab4f4 tests/check/libs/video.c: Add unit test that makes sure that the strides, offsets and sizes returned for the various ...
Original commit message from CVS:
* tests/check/libs/video.c: (paintinfo), (paintinfo_struct),
(fourcc_list_struct), (fourcc_list), (fourcc_get_size),
(paint_setup_I420), (paint_setup_YV12), (paint_setup_AYUV),
(paint_setup_YUY2), (paint_setup_UYVY), (paint_setup_YVYU),
(paint_setup_IYU2), (paint_setup_Y41B), (paint_setup_Y42B),
(paint_setup_Y800), (paint_setup_YVU9), (paint_setup_YUV9),
(gst_video_format_is_packed), (video_format_is_packed):
Add unit test that makes sure that the strides, offsets and
sizes returned for the various YUV formats by the new video API
match the old reference implementation in videotestsrc.
2008-03-02 18:24:37 +00:00
Wim Taymans 8ef40f64a7 tests/examples/seek/seek.c: Add combo box for visualisations, populate it with a factory list of all visualisation pl...
Original commit message from CVS:
* tests/examples/seek/seek.c: (vis_toggle_cb), (filter_features),
(init_visualization_features), (vis_combo_cb), (shot_cb), (main):
Add combo box for visualisations, populate it with a factory list
of all visualisation plugins, configure vis plugin instance in
playbin2.
2008-02-27 12:19:31 +00:00
Wim Taymans 5c1a648f83 tests/check/libs/rtp.c: Add check for RTP buffer defaults, padding and marker bit API.
Original commit message from CVS:
* tests/check/libs/rtp.c: (GST_START_TEST):
Add check for RTP buffer defaults, padding and marker bit API.
2008-02-27 10:55:03 +00:00
Tomasz Sałaciński 6ab3a0e0c0 Forward slashes at the beginning and end of a line also signify italics (Fixes: #518162).
Original commit message from CVS:
Based on patch by: Tomasz Sałaciński <tsalacinski gmail com>
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* tests/check/elements/subparse.c: (test_microdvd_with_italics),
(subparse_suite):
Forward slashes at the beginning and end of a line also signify
italics (Fixes: #518162).
2008-02-23 09:51:26 +00:00
Sebastian Dröge b88a725148 tests/check/gst-plugins-base.supp: Add a suppression for a cached value in GIO that wasn't moved while moving gio fro...
Original commit message from CVS:
* tests/check/gst-plugins-base.supp:
Add a suppression for a cached value in GIO that wasn't moved
while moving gio from -bad to -base.
2008-02-22 06:38:08 +00:00
Wim Taymans 81558d6a94 gst/playback/: Add screenshot conversion code from totem.
Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstscreenshot.c: (feed_fakesrc), (save_result),
(create_element), (gst_play_frame_conv_convert):
* gst/playback/gstscreenshot.h:
Add screenshot conversion code from totem.
* gst/playback/gstplay-marshal.list:
* gst/playback/gstplaybin2.c: (gst_play_marshal_BUFFER__BOXED),
(gst_play_bin_class_init), (gst_play_bin_convert_frame),
(gst_play_bin_get_property), (no_more_pads_cb), (activate_group):
Implement frame property to get a color-unconverted snapshot.
Implement convert-frame action signal to get a converted snapshot image.
Configure connection speed in uridecodebin.
Document some more properties.
* gst/playback/gstplaysink.c: (gst_play_sink_class_init),
(gen_video_chain), (gen_audio_chain), (gst_play_sink_reconfigure),
(gst_play_sink_get_last_frame):
* gst/playback/gstplaysink.h:
Use last-buffer property of the video sink to get a video snapshot.
* tests/examples/seek/seek.c: (shot_cb), (main):
Add snapshot button for playbin2 and use the frame property to save the
frame as a png in the current directory.
2008-02-19 15:02:33 +00:00
Wim Taymans 5fc67f8bd3 gst/playback/gstplaybin2.c: Get the object data correct so that we can remove our channels correctly.
Original commit message from CVS:
* gst/playback/gstplaybin2.c: (pad_added_cb), (pad_removed_cb),
(no_more_pads_cb):
Get the object data correct so that we can remove our channels
correctly.
* gst/playback/gstplaysink.c: (gen_video_chain), (gen_audio_chain),
(gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_request_pad):
Add option to disable async behaviour in the sinks when possible. This
makes it possible to avoid an audio queue when dealing with
visualisations.
Add option to add a queue for the audio path.
* tests/examples/seek/seek.c: (clear_streams), (update_streams),
(main):
Disable the vis checkbox to match the defaults of playbin2.
Only get the stream info when we need to.
2008-02-18 11:54:15 +00:00
Wim Taymans 5659831526 gst/playback/gstplaysink.c: Move tee in front of the audio and vis pipelines.
Original commit message from CVS:
* gst/playback/gstplaysink.c: (gst_play_sink_set_mute),
(gst_play_sink_get_mute), (gen_video_chain), (gen_audio_chain),
(gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_request_pad):
Move tee in front of the audio and vis pipelines.
Add queue for audio for now.
Add visualisation support.
* tests/examples/seek/seek.c: (main):
Visualisation is by default disabled.
2008-02-15 18:38:52 +00:00
Wim Taymans 609daaede3 gst/playback/: Add mute property.
Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_set_property), (gst_play_bin_get_property),
(pad_added_cb), (pad_removed_cb), (no_more_pads_cb):
* gst/playback/gstplaysink.c: (gst_play_sink_set_mute),
(gst_play_sink_get_mute), (gen_audio_chain):
* gst/playback/gstplaysink.h:
Add mute property.
* gst/playback/gststreamselector.c: (gst_selector_pad_event),
(gst_selector_pad_chain):
* gst/playback/gststreamselector.h:
Make sure we forward the event only once.
* tests/examples/seek/seek.c: (stop_cb), (mute_toggle_cb), (main):
Add and implement the mute button for playbin2.
2008-02-14 18:24:42 +00:00
Julien Moutte 37df642086 tests/examples/seek/seek.c: Add some seek flags when changing rate.
Original commit message from CVS:
2008-02-12  Julien Moutte  <julien@fluendo.com>

* tests/examples/seek/seek.c: (rate_spinbutton_changed_cb): Add
some seek flags when changing rate.
2008-02-12 19:50:36 +00:00
Sebastian Dröge 8b9f044b70 ext/gio/: Add documentation and example code for giostreamsink/giostreamsrc.
Original commit message from CVS:
* ext/gio/gstgiostreamsink.c:
* ext/gio/gstgiostreamsrc.c:
Add documentation and example code for giostreamsink/giostreamsrc.
* tests/check/pipelines/gio.c: (GST_START_TEST):
Ask the GMemoryOutputStream for the data instead of assuming that
the pointer to the data stayed the same. It could've been realloc'ed.
2008-02-12 09:24:11 +00:00
Wim Taymans 8732cbbd47 tests/examples/seek/seek.c: Add some stream switching and volume gui for playbin2.
Original commit message from CVS:
* tests/examples/seek/seek.c: (stop_cb), (clear_streams),
(update_streams), (video_combo_cb), (audio_combo_cb),
(text_combo_cb), (volume_spinbutton_changed_cb), (main):
Add some stream switching and volume gui for playbin2.
2008-02-08 18:17:51 +00:00
Julien Moutte 4f26ec3cfd tests/examples/seek/seek.c: Make sure bus signals are reconnected when pressing STOP and then PLAY again for a parse ...
Original commit message from CVS:
2008-02-08  Julien Moutte  <julien@fluendo.com>

* tests/examples/seek/seek.c: (stop_cb), (connect_bus_signals),
(main): Make sure bus signals are reconnected when pressing STOP
and then PLAY again for a parse launch pipeline. Fix a ref leak
on the bus.
* win32/common/config.h: Updated.
2008-02-08 14:34:41 +00:00
Jan Schmidt c9c92633e6 Add gio in a few more places.
Original commit message from CVS:
* ext/Makefile.am:
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
Add gio in a few more places.
2008-02-07 23:22:23 +00:00
Jan Schmidt c0077ce943 Move gio plugin from -bad and mark as experimental.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* tests/check/Makefile.am:
Move gio plugin from -bad and mark as experimental.
2008-02-07 23:18:43 +00:00
Wim Taymans bfe6a78043 tests/examples/seek/seek.c: Remove obsolete stream_time reset after flushing seek, core does that automatically now.
Original commit message from CVS:
* tests/examples/seek/seek.c: (do_seek),
(rate_spinbutton_changed_cb), (update_streams), (main):
Remove obsolete stream_time reset after flushing seek, core does that
automatically now.
Improve accuracy of speed spinbutton.
Only do playbin2 stuff when we actually use it.
2008-02-04 11:51:31 +00:00
Tim-Philipp Müller 7973f52f9c tests/check/Makefile.am: Revert previous change of the test environment's GST_PLUGIN_PATH.
Original commit message from CVS:
* tests/check/Makefile.am:
Revert previous change of the test environment's GST_PLUGIN_PATH.
The problem is not with the plugins, but with element factories
and only occurs if elements are split out from existing plugins
or if plugins change name (see #512740).
2008-02-02 17:29:32 +00:00
Tim-Philipp Müller d6a4702910 tests/check/Makefile.am: Fix the tests environment's GST_PLUGIN_PATH: we want the directory with the core's plugins f...
Original commit message from CVS:
* tests/check/Makefile.am:
Fix the tests environment's GST_PLUGIN_PATH: we want the directory
with the core's plugins first and our local build directories last,
since we might be building against an installed core, and that
core's plugin directory may contain older or other versions of
our own -base plugins, but we really do want to test our local
ones (if there are multiple plugins or element factories with the
same name, those inspected last will trump those read in earlier).
Fixes #512740 for the most part.
2008-02-02 15:32:23 +00:00
Wim Taymans 899330d904 gst/playback/gstplaybin2.c: Remove stream-info, we going for something easier.
Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(get_group), (get_n_pads), (gst_play_bin_get_property),
(pad_added_cb), (no_more_pads_cb), (perform_eos),
(autoplug_select_cb), (deactivate_group):
Remove stream-info, we going for something easier.
Refactor getting the current group.
Implement getting the number of audio/video/text streams.
* gst/playback/gststreamselector.c:
(gst_stream_selector_class_init), (gst_stream_selector_init),
(gst_stream_selector_get_property),
(gst_stream_selector_request_new_pad),
(gst_stream_selector_release_pad):
* gst/playback/gststreamselector.h:
Add property for number of pads.
* tests/examples/seek/seek.c: (set_scale), (update_flag),
(vis_toggle_cb), (audio_toggle_cb), (video_toggle_cb),
(text_toggle_cb), (update_streams), (msg_async_done),
(msg_state_changed), (main):
Block slider callback when updating the slider position.
Add gui elements for controlling playbin2.
Add callback for async_done that updates position/duration.
2008-02-01 16:44:21 +00:00
Thijs Vermeir b8d39bc200 Add gst_rtp_buffer_set_extension_data()
Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* gst-libs/gst/rtp/gstrtpbuffer.c:
(gst_rtp_buffer_set_extension_data):
* gst-libs/gst/rtp/gstrtpbuffer.h:
* tests/check/libs/rtp.c: (GST_START_TEST), (rtp_suite):
Add gst_rtp_buffer_set_extension_data()
Add a unit test for this addition. Fixes #511478.
API: GstRTPBuffer:gst_rtp_buffer_set_extension_data()
2008-02-01 11:09:16 +00:00
Sebastian Dröge 6f98c54722 Update for API changes in GIO and require GIO 2.15.2 for this.
Original commit message from CVS:
* configure.ac:
* tests/check/pipelines/gio.c: (GST_START_TEST):
Update for API changes in GIO and require GIO 2.15.2 for this.
2008-01-16 05:40:48 +00:00
Jan Schmidt f0ca338866 tests/check/Makefile.am: Fix CFLAGS to also pull in the gstcheck cflags from AM_CFLAGS.
Original commit message from CVS:
* tests/check/Makefile.am:
Fix CFLAGS to also pull in the gstcheck cflags from AM_CFLAGS.
* tests/check/elements/audiorate.c: (do_perfect_stream_test):
* tests/check/elements/playbin.c:
* tests/check/libs/mixer.c: (test_element_interface_supported),
(gst_implements_interface_init):
* tests/check/libs/rtp.c: (GST_START_TEST):
Fix various assignment type mismatches.
2008-01-12 23:24:02 +00:00
Michael Smith 57fab036b1 ext/theora/theoradec.c: Adapt for post-alpha meaning of granulepos, when we have a newer version of libtheora.
Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_class_init),
(_theora_granule_frame), (_theora_granule_start_time),
(theora_dec_sink_convert), (theora_dec_decode_buffer):
Adapt for post-alpha meaning of granulepos, when we
have a newer version of libtheora.
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_get_ogg_packet_end_time), (theora_enc_sink_event),
(theora_enc_is_discontinuous), (theora_enc_chain):
Likewise.
* tests/check/Makefile.am:
Link libtheora into theoraenc test so we can check which version of
libtheora we're testing against.
* tests/check/pipelines/theoraenc.c: (check_libtheora),
(check_buffer_granulepos),
(check_buffer_granulepos_from_starttime), (GST_START_TEST),
(theoraenc_suite):
Adapt tests to check the values that are now defined for theora; make
the tests backwards-adapt the passed values if we're running against an
old libtheora.
Fixes #497964
2008-01-11 15:48:11 +00:00
Sebastian Dröge ba9e0cc8d5 Update to GMemoryInputStream API changes in GLib SVN and require gio-2.0 >= 2.15.1 for this. Fixes bug #507584.
Original commit message from CVS:
* configure.ac:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_get_size):
* tests/check/pipelines/gio.c: (free_input), (GST_START_TEST):
Update to GMemoryInputStream API changes in GLib SVN and require
gio-2.0 >= 2.15.1 for this. Fixes bug #507584.
We can also report the duration for every GSeekable, not only
GFileInputStream and GMemoryInputStream.
2008-01-06 16:36:32 +00:00
Tim-Philipp Müller 38a7abe545 tests/check/pipelines/theoraenc.c: Turn these functions into macros so we can see right away where the failure occured.
Original commit message from CVS:
* tests/check/pipelines/theoraenc.c: (check_buffer_is_header),
(check_buffer_timestamp), (check_buffer_duration):
Turn these functions into macros so we can see right away
where the failure occured.
2008-01-06 14:39:19 +00:00