platform/upstream/gstreamer.git
15 years agoUpdate .po files
Jan Schmidt [Tue, 17 Nov 2009 01:13:36 +0000 (01:13 +0000)]
Update .po files

15 years agosignalprocessor: don't set channel positions in template-caps, Fixes #601775
Stefan Kost [Sun, 15 Nov 2009 19:46:01 +0000 (21:46 +0200)]
signalprocessor: don't set channel positions in template-caps, Fixes #601775

Revert the changes that added audio positions to template caps. We have an un-
fortunate limitation in core that does not allow to do it. Keep a few things
commented out, so that the channel position can later on be set in setcaps.

15 years ago0.10.16.3 pre-release
Jan Schmidt [Fri, 13 Nov 2009 02:18:31 +0000 (02:18 +0000)]
0.10.16.3 pre-release

15 years agocelt: Port to 0.7 API
Sebastian Dröge [Wed, 11 Nov 2009 09:58:29 +0000 (10:58 +0100)]
celt: Port to 0.7 API

Fixes bug #600724.

15 years agocelt: Make celt version checks better extensible
Sebastian Dröge [Wed, 11 Nov 2009 09:54:25 +0000 (10:54 +0100)]
celt: Make celt version checks better extensible

15 years ago0.10.16.2 pre-release
Jan Schmidt [Mon, 9 Nov 2009 19:20:21 +0000 (19:20 +0000)]
0.10.16.2 pre-release

15 years agoaiff: Disable aiff muxer for this release.
Jan Schmidt [Mon, 9 Nov 2009 19:08:49 +0000 (19:08 +0000)]
aiff: Disable aiff muxer for this release.

The aiff muxer relies on GstByteWriter API added after 0.10.25. Disable
it for this release.

Revert this commit after gst-plugins-bad 0.10.17

15 years agoasfmux: Uncomment --disable-static flag
Jan Schmidt [Mon, 9 Nov 2009 14:10:20 +0000 (14:10 +0000)]
asfmux: Uncomment --disable-static flag

For some reason that libtool flags line that prevents building
the static lib was commented out. Reported by Mart Raudsepp on IRC.

15 years agoinputselector: Remove useless variables and fix a uninitialized variable compiler...
Sebastian Dröge [Mon, 9 Nov 2009 10:49:15 +0000 (11:49 +0100)]
inputselector: Remove useless variables and fix a uninitialized variable compiler warnings

Merged from gst-plugins-base, dfd51aa82a9e1c9924375183796eab70e574a231.

15 years agoinputselector: Make sure that running_time->timestamp calculation never becomes negative
Sebastian Dröge [Mon, 9 Nov 2009 10:48:39 +0000 (11:48 +0100)]
inputselector: Make sure that running_time->timestamp calculation never becomes negative

Merged from gst-plugins-base, f3653854585864a09d35e037853407332ea6901f.

15 years agoinputselector: Use the start time (i.e. timestamp) as the last stop
Sebastian Dröge [Mon, 9 Nov 2009 10:48:00 +0000 (11:48 +0100)]
inputselector: Use the start time (i.e. timestamp) as the last stop

Using the end time makes it impossible to replace buffers, which is
a big problem for subtitles that could have very long durations.

Merged from gst-plugins-base, 27034be4611231cc55fa3d3e253baa40c6bff41d.

15 years agoinputselector: Improve debugging
Sebastian Dröge [Mon, 9 Nov 2009 10:47:15 +0000 (11:47 +0100)]
inputselector: Improve debugging

Merged from gst-plugins-base.

15 years agojp2kenc: Fix klass (s/Decoder/Encoder/)
Edward Hervey [Sat, 7 Nov 2009 11:29:15 +0000 (12:29 +0100)]
jp2kenc: Fix klass (s/Decoder/Encoder/)

15 years agodvbsrc: Add support for DVB-T/DVB-C with DVB API 3.3
Chris Hills [Fri, 6 Nov 2009 14:31:26 +0000 (15:31 +0100)]
dvbsrc: Add support for DVB-T/DVB-C with DVB API 3.3

15 years agoassrender: The text and video duration should only compared as running time too
Sebastian Dröge [Fri, 6 Nov 2009 10:44:50 +0000 (11:44 +0100)]
assrender: The text and video duration should only compared as running time too

The end times of the text and video buffers could be different than
their start running time + duration because of different rates.

15 years agokate: Lower tiger's rank to NONE again
Sebastian Dröge [Fri, 6 Nov 2009 08:16:18 +0000 (09:16 +0100)]
kate: Lower tiger's rank to NONE again

It's not well tested yet and doesn't handle segments and text/video
synchronization properly yet. Autoplugging it will cause failures.

15 years agoassrender: Reset segments on FLUSH_STOP events
Sebastian Dröge [Fri, 6 Nov 2009 06:12:03 +0000 (07:12 +0100)]
assrender: Reset segments on FLUSH_STOP events

15 years agoassrender: Improve debugging
Sebastian Dröge [Thu, 5 Nov 2009 16:41:53 +0000 (17:41 +0100)]
assrender: Improve debugging

15 years agoqtmux: Adding some ifs for protection
Thiago Santos [Fri, 6 Nov 2009 03:46:12 +0000 (00:46 -0300)]
qtmux: Adding some ifs for protection

Adding somes ifs to protect against warning conditions
that might happen when upstream element is not sane

Fixes #600895

15 years agoscaletempo: properly update new segments
Thiago Santos [Thu, 5 Nov 2009 16:40:38 +0000 (13:40 -0300)]
scaletempo: properly update new segments

Scaletempo was missing an update of 'stop' in
new segment parameters when pushing it downstream,
which caused files to end earlier when rate < 1.

Fixes #599903

Based on patch by: Bastian Hecht <hechtb@gmail.com>

15 years agotimidity: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 23:17:58 +0000 (23:17 +0000)]
timidity: printf format fixes

15 years agomythtv: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 22:03:51 +0000 (22:03 +0000)]
mythtv: printf format fixes

15 years agomms: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 21:58:38 +0000 (21:58 +0000)]
mms: printf format fixes

15 years agokate: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 21:51:07 +0000 (21:51 +0000)]
kate: printf format fixes

15 years agoresindvd: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 21:47:05 +0000 (21:47 +0000)]
resindvd: printf format fixes

15 years agodvbbasebin: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 21:45:07 +0000 (21:45 +0000)]
dvbbasebin: printf format fixes

15 years agodirectfb: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 21:44:51 +0000 (21:44 +0000)]
directfb: printf format fixes

15 years agoalsaspdifsink: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 21:44:39 +0000 (21:44 +0000)]
alsaspdifsink: printf format fixes

15 years agoassrender: Update last stop for the subtitles
Sebastian Dröge [Thu, 5 Nov 2009 16:13:36 +0000 (17:13 +0100)]
assrender: Update last stop for the subtitles

15 years agoassrender: Synchronize text and video by taking the running time instead of the strea...
Sebastian Dröge [Thu, 5 Nov 2009 16:06:18 +0000 (17:06 +0100)]
assrender: Synchronize text and video by taking the running time instead of the stream time

15 years agoassrender: Keep track of the subtitle segments
Sebastian Dröge [Thu, 5 Nov 2009 15:44:09 +0000 (16:44 +0100)]
assrender: Keep track of the subtitle segments

15 years agoassrender: If the video segment is not in TIME format don't accept it
Sebastian Dröge [Thu, 5 Nov 2009 15:41:56 +0000 (16:41 +0100)]
assrender: If the video segment is not in TIME format don't accept it

15 years agodtmfdetect: Add dtmfdetects to plugins docs
Olivier Crête [Thu, 5 Nov 2009 03:52:19 +0000 (22:52 -0500)]
dtmfdetect: Add dtmfdetects to plugins docs

15 years agodtmfdetect: Add DTMF tone detector
Olivier Crête [Thu, 5 Nov 2009 03:19:58 +0000 (22:19 -0500)]
dtmfdetect: Add DTMF tone detector

It looks at raw audio data and emits messages when DTMF is detected.
The dtmf detector is the same Goertzel implementation used in FreeSwitch
and Asterisk. It is in the public domain.

15 years agoRevert "inputselector: use get_caps_reffed()"
Wim Taymans [Thu, 5 Nov 2009 12:53:46 +0000 (13:53 +0100)]
Revert "inputselector: use get_caps_reffed()"

This reverts commit 49ec4f796a0e3f88a851708782c853baf4b05724.

We can't use this new function yet.

15 years agoinputselector: use get_caps_reffed()
Wim Taymans [Thu, 5 Nov 2009 12:29:55 +0000 (13:29 +0100)]
inputselector: use get_caps_reffed()

15 years agoassrender: Drop too late text buffer immediately
Sebastian Dröge [Thu, 5 Nov 2009 12:17:27 +0000 (13:17 +0100)]
assrender: Drop too late text buffer immediately

Also improve debugging a bit and drop buffers without valid
timestamp or duration because we can't handle them.

15 years agoassrender: Fix race condition that results in a deadlock on shutdown
Sebastian Dröge [Thu, 5 Nov 2009 11:25:25 +0000 (12:25 +0100)]
assrender: Fix race condition that results in a deadlock on shutdown

15 years agodtmfsrc: Reject empty caps
Olivier Crête [Thu, 5 Nov 2009 03:21:35 +0000 (22:21 -0500)]
dtmfsrc: Reject empty caps

15 years agodtmfsrc: Use log level for repeated debug messages
Olivier Crête [Thu, 5 Nov 2009 03:21:22 +0000 (22:21 -0500)]
dtmfsrc: Use log level for repeated debug messages

15 years agodtmfsrc: Allow for any samplerate
Olivier Crête [Thu, 5 Nov 2009 01:05:17 +0000 (20:05 -0500)]
dtmfsrc: Allow for any samplerate

15 years agoautoconvert: Fix previous commit: ensure we take a ref on the features
Jan Schmidt [Wed, 4 Nov 2009 23:32:07 +0000 (23:32 +0000)]
autoconvert: Fix previous commit: ensure we take a ref on the features

15 years agoresindvd,autoconvert: Avoid depending on 0.10.26 API
Jan Schmidt [Wed, 4 Nov 2009 15:21:50 +0000 (15:21 +0000)]
resindvd,autoconvert: Avoid depending on 0.10.26 API

Wait until after the next release to bump the core requirement.
Until then, don't use gst_plugin_feature_list_copy and
gst_pad_peer_get_caps_refed.

15 years agoresindvd: Remove old code and obsolete comments
Jan Schmidt [Mon, 2 Nov 2009 17:06:53 +0000 (17:06 +0000)]
resindvd: Remove old code and obsolete comments

Remove some disabled code paths and obsolete FIXME comments

15 years agoceltdec : chain_parse_data : check validity of timestamp, create a new one if needed
Gabriel Millaire [Wed, 14 Oct 2009 19:47:27 +0000 (15:47 -0400)]
celtdec : chain_parse_data : check validity of timestamp, create a new one if needed
celtenc : default framesize is 480
          setcaps : gets framesize and set caps
          enc_chain : sets framesize in caps
          Added frame-size to static caps of audio/x-celt
          Replaced GST_DEBUG_OBJECT by GST_LOG_OBJECT in enc_chain
          setcaps: get frame-size from int instead of string
          setcaps: use default value for frame-size

15 years agompegdemux: Fix pointer-differences printout
Edward Hervey [Wed, 4 Nov 2009 16:13:34 +0000 (17:13 +0100)]
mpegdemux: Fix pointer-differences printout

There is unfortunately no G_*_FORMAT conversion specifier for differences of
pointers in glib, and we can't rely either on all platforms being 64bit.

So let's just cast the difference to a gint and be done with it.

15 years agopo: Don't create backup .po files
Jan Schmidt [Wed, 4 Nov 2009 13:55:04 +0000 (13:55 +0000)]
po: Don't create backup .po files

As well as preventing creation of useless backup files, it works
around a bug in gettext 0.17 on OS/X

15 years agocdaudio: fix properties
Wim Taymans [Wed, 4 Nov 2009 14:57:40 +0000 (15:57 +0100)]
cdaudio: fix properties

Fix properties and allow setting the device property.

15 years agoassrender: Return WRONG_STATE from the subtitle chain when flushing
Sebastian Dröge [Wed, 4 Nov 2009 12:11:44 +0000 (13:11 +0100)]
assrender: Return WRONG_STATE from the subtitle chain when flushing

15 years agoassrender: Unlock and free any pending subtitle buffers on FLUSH_START
Sebastian Dröge [Wed, 4 Nov 2009 12:07:27 +0000 (13:07 +0100)]
assrender: Unlock and free any pending subtitle buffers on FLUSH_START

15 years agoassrender: Synchronize subtitle buffers with the video
Sebastian Dröge [Wed, 4 Nov 2009 11:50:18 +0000 (12:50 +0100)]
assrender: Synchronize subtitle buffers with the video

Fixes bug #600662.

15 years agoinputselector: also add inline to the proto to fix the build
Stefan Kost [Tue, 3 Nov 2009 22:21:19 +0000 (00:21 +0200)]
inputselector: also add inline to the proto to fix the build

15 years agozbar: include quality and check count, fixes #600461
Stefan Kost [Tue, 3 Nov 2009 22:19:20 +0000 (00:19 +0200)]
zbar: include quality and check count, fixes #600461

We report the relative quality in the message and we also use the cache to skip
early detects and doubles.

15 years agogst: Remove dead assignments and resulting unused variables
Edward Hervey [Tue, 3 Nov 2009 17:14:12 +0000 (18:14 +0100)]
gst: Remove dead assignments and resulting unused variables

Merged from gst-plugins-base, 8cd1b5209b68944e1be56ca8bb69e46d4abb7a34.

15 years agoinputselector: Use the same iterate internal links function as in gst-plugins-base
Sebastian Dröge [Tue, 3 Nov 2009 17:12:21 +0000 (18:12 +0100)]
inputselector: Use the same iterate internal links function as in gst-plugins-base

15 years agoRemove GST_DEBUG_FUNCPTR where they're pointless
Tim-Philipp Müller [Tue, 3 Nov 2009 17:11:13 +0000 (18:11 +0100)]
Remove GST_DEBUG_FUNCPTR where they're pointless

There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.

Merged from gst-plugins-base, 6f4c1ac58341ee189225d313ddfe9ae24a65c88c.

15 years agoRemove Ronald Bultje from Authors field
David Schleef [Tue, 3 Nov 2009 17:09:55 +0000 (18:09 +0100)]
Remove Ronald Bultje from Authors field

Replaced with "GStreamer maintainers
<gstreamer-devel@lists.sourceforge.net>" or just removed,
depending on the number of other authors.

Merged from gst-plugins-base, 0e9bc5125aca546d773ed1002df573dd8e2dc136.

15 years agoinputselector: set output caps before pushing
Wim Taymans [Tue, 3 Nov 2009 17:08:05 +0000 (18:08 +0100)]
inputselector: set output caps before pushing

Set the output caps on the srcpad before pushing the buffer because else core
will do a rather expensive check to see if we can actually accept those caps on
the srcpad.

Merged from gst-plugins-base, bdfb4b46d746ef298fcf44260879c342af4cafa3.

15 years agoinputselector: install an acceptcaps function
Wim Taymans [Tue, 3 Nov 2009 17:06:11 +0000 (18:06 +0100)]
inputselector: install an acceptcaps function

Install a custom acceptcaps function instead of using the default expensive
check. We accept whatever downstream accepts so we pass along the acceptcaps
call to the downstream peer.

Merged from gst-plugins-base, 5b72f2adf996739036e8d9b5f91005455d1fface.

15 years agotiger: Make sure that tiger is not autoplugged by decodebin2
Sebastian Dröge [Tue, 3 Nov 2009 14:08:02 +0000 (15:08 +0100)]
tiger: Make sure that tiger is not autoplugged by decodebin2

It's not really a decoder...

15 years agokate: Change ranks of katedec and tiger to PRIMARY to be autoplugged
Sebastian Dröge [Tue, 3 Nov 2009 13:50:15 +0000 (14:50 +0100)]
kate: Change ranks of katedec and tiger to PRIMARY to be autoplugged

15 years agotiger: Change name of the subtitle sink template and classification
Sebastian Dröge [Tue, 3 Nov 2009 13:49:44 +0000 (14:49 +0100)]
tiger: Change name of the subtitle sink template and classification

This will make sure that subtitleoverlay can work with tiger.

15 years agoresindvd: Take a copy of the passed plugin features
Jan Schmidt [Mon, 2 Nov 2009 11:33:19 +0000 (11:33 +0000)]
resindvd: Take a copy of the passed plugin features

Clarify the ownership of the internal plugin feature list by making
a copy of any passed list. Avoids crashes when freeing a passed list,
or leaks caused by not freeing any internally built list.

15 years agoresindvd: Fix an oversight from updating the copy of basesrc
Jan Schmidt [Mon, 2 Nov 2009 10:20:40 +0000 (10:20 +0000)]
resindvd: Fix an oversight from updating the copy of basesrc

Plugins need gst-i18n-plugin.h, not gst-i18n-lib.h

15 years agopitch: remove pointless gst_element_no_more_pads()
Tim-Philipp Müller [Sun, 1 Nov 2009 15:56:54 +0000 (15:56 +0000)]
pitch: remove pointless gst_element_no_more_pads()

15 years agoresindvd: Use gst_base_src_new_seamless_segment()
Jan Schmidt [Sun, 1 Nov 2009 22:17:02 +0000 (23:17 +0100)]
resindvd: Use gst_base_src_new_seamless_segment()

When switching to a new seamless segment, use the new
gst_base_src_new_seamless_segment() function, because elements can't
send themselves seek events from the streaming thread.

15 years agoresindvd: Add gst_base_src_new_seamless_segment() to GstBaseSrc copy
Jan Schmidt [Sun, 1 Nov 2009 22:16:18 +0000 (23:16 +0100)]
resindvd: Add gst_base_src_new_seamless_segment() to GstBaseSrc copy

Add a new function to the internal copy of GstBaseSrc for starting a new
seamless segment.

15 years agoresindvd: Update the base source copy
Jan Schmidt [Sun, 1 Nov 2009 18:21:38 +0000 (19:21 +0100)]
resindvd: Update the base source copy

This breaks seamless segment updates, causing deadlocks,
to be fixed in subsequent commits.

15 years agodvdspu: Fix PGS window parsing
Jan Schmidt [Mon, 2 Nov 2009 01:48:18 +0000 (02:48 +0100)]
dvdspu: Fix PGS window parsing

Fix a problem introduced in the last PGS parsing patch by skipping
the window count byte after reading it.

15 years agoaiff: fix aiffparse debug category variable name
René Stadler [Sun, 1 Nov 2009 18:42:44 +0000 (20:42 +0200)]
aiff: fix aiffparse debug category variable name

Fixes missing symbol when compiling with debugging, since this is now in sync
with the plugin_init in aiff.c.

15 years agoaiff: init plugin debug category
René Stadler [Sun, 1 Nov 2009 18:41:03 +0000 (20:41 +0200)]
aiff: init plugin debug category

Fixes assertion (or unused variable warning with DISABLE_NLS).

15 years agoaiff: add aiff elements to docs
Tim-Philipp Müller [Sat, 31 Oct 2009 19:42:50 +0000 (19:42 +0000)]
aiff: add aiff elements to docs

15 years agoaiff: gratuitious clean-ups: canonicalise function names, structs and defines
Tim-Philipp Müller [Sat, 31 Oct 2009 19:37:08 +0000 (19:37 +0000)]
aiff: gratuitious clean-ups: canonicalise function names, structs and defines

15 years agoaiff: enable new aiff muxer
Tim-Philipp Müller [Sat, 31 Oct 2009 17:50:54 +0000 (17:50 +0000)]
aiff: enable new aiff muxer

Fixes #598763 even more.

15 years agoaiff: add basic AIFF muxer
Robert Swain [Sat, 17 Oct 2009 21:58:03 +0000 (22:58 +0100)]
aiff: add basic AIFF muxer

Fixes #598763.

15 years agoaiff: remove unused includes and fix flags order in Makefile.am
Tim-Philipp Müller [Sat, 31 Oct 2009 17:25:15 +0000 (17:25 +0000)]
aiff: remove unused includes and fix flags order in Makefile.am

Also remove GST_PLUGINS_BASE_LIBS from LIBADD since we don't
need to link against any of the -base libs (we just use a define
from the gstaudio headers).

15 years agoaiff: rename 'aiffparse' plugin to 'aiff'
Tim-Philipp Müller [Sat, 31 Oct 2009 17:20:53 +0000 (17:20 +0000)]
aiff: rename 'aiffparse' plugin to 'aiff'

15 years agotests: Add test for rtpdtmfmux locking
Olivier Crête [Thu, 8 Oct 2009 23:06:26 +0000 (19:06 -0400)]
tests: Add test for rtpdtmfmux locking

15 years agotests: Add unit test for rtpmux
Olivier Crête [Mon, 28 Sep 2009 23:54:53 +0000 (19:54 -0400)]
tests: Add unit test for rtpmux

15 years agortpmux: Don't ignore requested pad name
Olivier Crête [Mon, 28 Sep 2009 17:36:44 +0000 (13:36 -0400)]
rtpmux: Don't ignore requested pad name

15 years agotests: Use GST_PLUGINS_BASE_{CFLAGS,LIBS} for camerabin tests.
Michael Smith [Thu, 29 Oct 2009 23:42:34 +0000 (16:42 -0700)]
tests: Use GST_PLUGINS_BASE_{CFLAGS,LIBS} for camerabin tests.

15 years agoosxvideosrc: change a .m file containing only C code to a .c file. Makes
Michael Smith [Thu, 29 Oct 2009 23:34:23 +0000 (16:34 -0700)]
osxvideosrc: change a .m file containing only C code to a .c file. Makes
building this easier.

15 years agompegtsdemux: Don't send new-segment with start time == -1
Jan Schmidt [Tue, 27 Oct 2009 22:08:42 +0000 (22:08 +0000)]
mpegtsdemux: Don't send new-segment with start time == -1

When sending new-segment to a stream, ensure that there is either a valid
PCR, or else wait until there's a PTS on the stream (dropping packets if
needed) in order to avoid generating an invlaid new-segments event.

https://bugzilla.gnome.org/show_bug.cgi?id=595161

15 years agocamerabin: use raw audio/video in unit tests
Teemu Katajisto [Wed, 28 Oct 2009 14:22:13 +0000 (16:22 +0200)]
camerabin: use raw audio/video in unit tests

Removes dependency to ogg/vorbis/theora when running camerabin
unit tests.

15 years agodshowsrcwrapper: cleanup push buffer callback
Julien Isorce [Wed, 28 Oct 2009 16:37:44 +0000 (17:37 +0100)]
dshowsrcwrapper: cleanup push buffer callback

15 years agoid3mux: glib doesn't reliably null-terminate wide-character encodings in
Michael Smith [Tue, 27 Oct 2009 21:31:39 +0000 (14:31 -0700)]
id3mux: glib doesn't reliably null-terminate wide-character encodings in
g_convert, so write the null-terminator separately and explicitly.

15 years agolv2: fix pad direction for ungrouped ports
Stefan Kost [Sun, 18 Oct 2009 11:20:07 +0000 (14:20 +0300)]
lv2: fix pad direction for ungrouped ports

Classic copy'n'paste bug.

15 years agoasfmux: fix tag writing bug
Thiago Santos [Tue, 27 Oct 2009 19:37:53 +0000 (16:37 -0300)]
asfmux: fix tag writing bug

g_convert seems to add a single null terminating byte to
the end of the string, even when the output is UTF16, we
force the second 0 byte when copying to the output buffer.
This issue was causing random crashes because it was
assumed that the string resulting from g_convert had
2 extra bytes, but it has only one.

15 years agoRemove executable bits from non-executable files.
Michael Smith [Tue, 27 Oct 2009 18:51:05 +0000 (11:51 -0700)]
Remove executable bits from non-executable files.

15 years agoresindvd: Remove extra new-segment in rsnstreamselector. Send discont.
Jan Schmidt [Tue, 27 Oct 2009 00:22:42 +0000 (00:22 +0000)]
resindvd: Remove extra new-segment in rsnstreamselector. Send discont.

All the input pads for the resin stream selectors have the same source,
and receive/send the same segment info, so there's no need to send a
segment when switching and activating a different pad. Removing it makes
on-the-fly audio track switching work properly.

After switching audio track, mark the next buffer discont.

15 years agoresindvd: Avoid a deadlock. Improve chapter seek.
Jan Schmidt [Mon, 26 Oct 2009 20:55:15 +0000 (20:55 +0000)]
resindvd: Avoid a deadlock. Improve chapter seek.

Avoid a potential deadlock that happens when a call to
gst_clock_id_wait_async() immediately calls the callback.
Improve previous chapter seeking slightly by avoiding 'segment
start != -1' assertions when there is no previous chapter and
the seek therefore fails.

15 years agoresindvd: lower a debug message to log level.
Jan Schmidt [Mon, 26 Oct 2009 12:19:32 +0000 (12:19 +0000)]
resindvd: lower a debug message to log level.

15 years agoresindvd: Add a keypress mapping for switching audio track
Jan Schmidt [Mon, 26 Oct 2009 11:00:34 +0000 (11:00 +0000)]
resindvd: Add a keypress mapping for switching audio track

For debugging purposes, make keys 1-8 switch audio track.

15 years agoautoconvert: Add a simple unit test
Jan Schmidt [Sat, 24 Oct 2009 11:54:19 +0000 (12:54 +0100)]
autoconvert: Add a simple unit test

Set up an autoconvert with 2 factories, and check that it can switch
between them when the caps change.

15 years agoresindvd: Set the new initial-identity property on autoconvert
Jan Schmidt [Sat, 24 Oct 2009 13:29:33 +0000 (14:29 +0100)]
resindvd: Set the new initial-identity property on autoconvert

https://bugzilla.gnome.org/show_bug.cgi?id=599469

15 years agoautoconvert: Support installing identity as the initial child
Jan Schmidt [Sat, 24 Oct 2009 11:38:14 +0000 (12:38 +0100)]
autoconvert: Support installing identity as the initial child

Add the 'initial-identity' property, which inserts identity for
at startup for event passing, and replaces it with a new child
when the first buffer (and caps) actually arrives.

https://bugzilla.gnome.org/show_bug.cgi?id=599469

15 years agoautoconvert: Cache incoming new segment events and push to children.
Jan Schmidt [Sat, 24 Oct 2009 10:18:59 +0000 (11:18 +0100)]
autoconvert: Cache incoming new segment events and push to children.

Cache incoming new-segment info.

When installing a child element, inform it of the current segment info.

https://bugzilla.gnome.org/show_bug.cgi?id=599469

15 years agoautoconvert: Add some debug in factory caps intersection
Jan Schmidt [Mon, 26 Oct 2009 00:41:55 +0000 (00:41 +0000)]
autoconvert: Add some debug in factory caps intersection

15 years agoautoconvert: Simple fixes.
Jan Schmidt [Sat, 24 Oct 2009 10:05:47 +0000 (11:05 +0100)]
autoconvert: Simple fixes.

Free the plugin feature list on dispose.
Output a debug message when downstream returns a fatal flow result
Fix awkward wording in a debug warning.

15 years agoautoconvert: Gratuitously move GST_OBJECT_LOCK into a macro
Jan Schmidt [Sat, 24 Oct 2009 09:27:03 +0000 (10:27 +0100)]
autoconvert: Gratuitously move GST_OBJECT_LOCK into a macro

Create GST_AUTOCONVERT_LOCK/UNLOCK macros that (for now) just call
GST_OBJECT_LOCK.