platform/upstream/gstreamer.git
15 years agotypefind: Make the flac check more tight to not mistace some aac files for flac....
Stefan Kost [Tue, 3 Feb 2009 13:26:08 +0000 (15:26 +0200)]
typefind: Make the flac check more tight to not mistace some aac files for flac. Fixes #570356.

Add comments about the flac format. Tighten the check to not allow values that
refer to headers.

15 years agoAdd new methods
Wim Taymans [Tue, 3 Feb 2009 09:52:15 +0000 (10:52 +0100)]
Add new methods

Add new methods to the windows def file.

15 years agopbutils: remove duplicate detail strings when calling the external codec installer
Tim-Philipp Müller [Mon, 2 Feb 2009 17:25:21 +0000 (17:25 +0000)]
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.

15 years agoAdd a FIXME 0.11. Make the log message a bit more detailed and add comments.
Stefan Kost [Mon, 2 Feb 2009 16:05:42 +0000 (18:05 +0200)]
Add a FIXME 0.11. Make the log message a bit more detailed and add comments.

15 years agoAllow to configure the resampler function for integer to skip the benchmarking. Fix...
Stefan Kost [Mon, 2 Feb 2009 13:43:03 +0000 (15:43 +0200)]
Allow to configure the resampler function for integer to skip the benchmarking. Fix releasing the intger resampler in benchmark.

15 years agoFix buffer_alloc in ximagesink
Wim Taymans [Mon, 2 Feb 2009 12:30:42 +0000 (13:30 +0100)]
Fix buffer_alloc in ximagesink

Remove some useless debug info that reported wrong image sizes.

When upstream does not accept out suggested size, fall back to allocating an
image of the requested width/height instead of the currently configured size.
The problem is that an image is reused from the pool because the width/height
match but the caps on the new buffer are the requested caps with possibly
different height/width resulting in errors.

15 years agoFix documentation for autoplug-select
Wim Taymans [Mon, 2 Feb 2009 11:54:31 +0000 (12:54 +0100)]
Fix documentation for autoplug-select

fix the documentation strings for the autoplug-select signal.
Fixes #570142.

15 years agoFix string leak in rtspmessage
Wim Taymans [Mon, 2 Feb 2009 09:09:07 +0000 (10:09 +0100)]
Fix string leak in rtspmessage

when we remove a header field from a message we must free the value associated
with the key to avoid a memory leak.

15 years agoIts "Base Library" and not just "Library".
Stefan Kost [Sat, 31 Jan 2009 16:45:47 +0000 (18:45 +0200)]
Its "Base Library" and not just "Library".

15 years agoLink to the class, as we can't link to the members yet.
Stefan Kost [Sat, 31 Jan 2009 16:44:32 +0000 (18:44 +0200)]
Link to the class, as we can't link to the members yet.

15 years agoRemove pad-removed handlers after setting the decodebins to NULL.
Michael Smith [Sat, 31 Jan 2009 01:48:23 +0000 (17:48 -0800)]
Remove pad-removed handlers after setting the decodebins to NULL.

They do needed cleanup; without this we leak selector requestpads.

15 years agoUnref selector request pad even if we no longer have a selector.
Michael Smith [Sat, 31 Jan 2009 01:47:07 +0000 (17:47 -0800)]
Unref selector request pad even if we no longer have a selector.

During destruction, we won't have a selector any more, but we still need
to unref the pad to avoid leaking it.

15 years agoUnref source in playbin2's finalize method
Michael Smith [Fri, 30 Jan 2009 23:23:23 +0000 (15:23 -0800)]
Unref source in playbin2's finalize method

15 years agoFix more leaks of pads and elements in gstplaysink.
Michael Smith [Fri, 30 Jan 2009 20:04:01 +0000 (12:04 -0800)]
Fix more leaks of pads and elements in gstplaysink.

Don't keep extra references to volume and mute elements; we don't need
to do so.
Ensure we unref pads that we have references to, and release request
pads.

15 years agoAvoid leaking all playsinks. Fix some internal leaks.
Michael Smith [Fri, 30 Jan 2009 19:04:37 +0000 (11:04 -0800)]
Avoid leaking all playsinks. Fix some internal leaks.

Playsink was holding references to itself. Don't do that, it's not cool.
Also, free all chains in dispose.

15 years agoUnref peer request pad after releasing it, since we hold a reference.
Michael Smith [Fri, 30 Jan 2009 18:54:12 +0000 (10:54 -0800)]
Unref peer request pad after releasing it, since we hold a reference.

15 years agoFix caps leak in playbin2.
Michael Smith [Fri, 30 Jan 2009 18:52:52 +0000 (10:52 -0800)]
Fix caps leak in playbin2.

15 years agoUnref active pad from selector when finding active stream.
Michael Smith [Fri, 30 Jan 2009 18:51:11 +0000 (10:51 -0800)]
Unref active pad from selector when finding active stream.

15 years agoFree uris when finalizing playbin2 instance.
Michael Smith [Fri, 30 Jan 2009 18:49:55 +0000 (10:49 -0800)]
Free uris when finalizing playbin2 instance.

15 years agoUnref pads when iterating over them in analyse_source.
Michael Smith [Fri, 30 Jan 2009 18:38:17 +0000 (10:38 -0800)]
Unref pads when iterating over them in analyse_source.

Fixes leak of source's srcpad when using uridecodebin.

15 years agoAdd releaseinfo with online url.
Stefan Kost [Fri, 30 Jan 2009 20:22:07 +0000 (22:22 +0200)]
Add releaseinfo with online url.

15 years agoFix compilation warning on Forte
Jan Schmidt [Fri, 30 Jan 2009 17:58:15 +0000 (17:58 +0000)]
Fix compilation warning on Forte

15 years agoDon't do void pointer arithmetic.
Jan Schmidt [Fri, 30 Jan 2009 17:16:39 +0000 (17:16 +0000)]
Don't do void pointer arithmetic.

15 years agoBump common
Jan Schmidt [Fri, 30 Jan 2009 17:25:51 +0000 (17:25 +0000)]
Bump common

15 years agoUse a symbolic link for the pre-commit client-side hook
Edward Hervey [Fri, 30 Jan 2009 07:50:53 +0000 (08:50 +0100)]
Use a symbolic link for the pre-commit client-side hook

15 years agoAdd more files/directories to ignore
Edward Hervey [Fri, 30 Jan 2009 07:12:42 +0000 (08:12 +0100)]
Add more files/directories to ignore

15 years agofix some typos
Wim Taymans [Thu, 29 Jan 2009 13:00:30 +0000 (14:00 +0100)]
fix some typos

Fix some typos in the doc string of the new
gst_rtsp_options_as_string() method.

15 years agoAdd new RTSP message method to set header
Wim Taymans [Thu, 29 Jan 2009 10:55:10 +0000 (11:55 +0100)]
Add new RTSP message method to set header

Add gst_rtsp_message_take_header() that takes ownership of the passed header
value. This allows us to avoid an allocations and memory copy in some
situations.
API: GstRTSPMessage::gst_rtsp_message_take_header()

15 years agoAdd new method to docs
Wim Taymans [Thu, 29 Jan 2009 10:51:23 +0000 (11:51 +0100)]
Add new method to docs

Add the new gst_rtsp_options_as_text() method to the docs.

15 years agoAdd method to serialize RTSP options
Wim Taymans [Wed, 28 Jan 2009 10:48:01 +0000 (11:48 +0100)]
Add method to serialize RTSP options

Add gst_rtsp_options_as_text() method to serialize a set of RTSP options to a
string.
API: GstRTSP::gst_rtsp_options_as_text()

15 years agoEnsure we have sufficient data when using data scan contexts.
Michael Smith [Tue, 27 Jan 2009 01:59:37 +0000 (17:59 -0800)]
Ensure we have sufficient data when using data scan contexts.

Fixes crashes typefinding things that look like they might contain AAC
data (but probably aren't actually AAC).

15 years agoFix include order for gio plugin
Jan Schmidt [Mon, 26 Jan 2009 23:32:09 +0000 (23:32 +0000)]
Fix include order for gio plugin

15 years agoUpdate win32 config.h for 0.10.22.1 dev cycle
Jan Schmidt [Fri, 23 Jan 2009 23:59:48 +0000 (23:59 +0000)]
Update win32 config.h for 0.10.22.1 dev cycle

15 years agoExtend and clean up git ignores
Jan Schmidt [Fri, 23 Jan 2009 23:16:11 +0000 (23:16 +0000)]
Extend and clean up git ignores

15 years agoRename files and types from speexresample to audioresample
Sebastian Dröge [Fri, 23 Jan 2009 11:31:06 +0000 (12:31 +0100)]
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.

15 years agoAdd some more debugging to the Xv strides
Wim Taymans [Fri, 23 Jan 2009 10:44:53 +0000 (11:44 +0100)]
Add some more debugging to the Xv strides

Add some more debugging to the strides as they are received from the server and
the expected strides.

15 years agoAdd typefind function for gsm
Wim Taymans [Fri, 23 Jan 2009 10:40:26 +0000 (11:40 +0100)]
Add typefind function for gsm

Because core now supports typefindfactories without a typefind function we can
register a factory fo GSM that will --if all else fails-- assume the file is a
GSM file based on the registered extension.
Fixes #566661.

15 years agoUse more performant link function
Wim Taymans [Fri, 23 Jan 2009 10:37:45 +0000 (11:37 +0100)]
Use more performant link function

We can use gst_element_link_pads() instead of the more generic
gst_element_link() function because we know the pads. This saves some cycles
because the more generic function needs to search for possible compatible caps
etc.

15 years agoAdd more codec ids for RIFF formats
Wim Taymans [Fri, 23 Jan 2009 10:33:29 +0000 (11:33 +0100)]
Add more codec ids for RIFF formats

Handle codec ID for various other AAC formats.
Sync the list of possible codec ids with that of ffmpeg.
Fixes #567255

15 years agoUse rounded values for image strides and sizes
Wim Taymans [Fri, 23 Jan 2009 10:27:16 +0000 (11:27 +0100)]
Use rounded values for image strides and sizes

Round up the height before calculating the expected size and
strides of the output image.

15 years agoImprove debug message
Wim Taymans [Fri, 23 Jan 2009 10:23:09 +0000 (11:23 +0100)]
Improve debug message

Improve the debug message when alsa returns an error.

15 years agoReset queued_bytes counter when flushing
Wim Taymans [Fri, 23 Jan 2009 10:07:05 +0000 (11:07 +0100)]
Reset queued_bytes counter when flushing

Set the amount of queued bytes in the internal queue back to 0 when we clear the
queue.
Fixes #567982

15 years agoAdd typefinder for Mobile XMF. Fixes bug #568707.
Benjamin Gaignard [Fri, 23 Jan 2009 09:19:27 +0000 (10:19 +0100)]
Add typefinder for Mobile XMF. Fixes bug #568707.

15 years agoFix linking on Solaris. Fixes bug #568482.
Brian Cameron [Fri, 23 Jan 2009 09:00:11 +0000 (10:00 +0100)]
Fix linking on Solaris. Fixes bug #568482.

Check for nsl and socket libraries and add them to
LIBS if they're found. They're needed for socket()
and gethostbyname() on Solaris.

15 years agoFix use-after-unref problem noticed by Josep Torra Valles, and run
Jan Schmidt [Thu, 22 Jan 2009 22:09:47 +0000 (22:09 +0000)]
Fix use-after-unref problem noticed by Josep Torra Valles, and run
gst-indent

15 years agoUpdate common snapshot.
Stefan Kost [Thu, 22 Jan 2009 15:46:59 +0000 (17:46 +0200)]
Update common snapshot.

15 years agoFix pre-commit hook
Sebastian Dröge [Thu, 22 Jan 2009 12:47:24 +0000 (13:47 +0100)]
Fix pre-commit hook

15 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base
Wim Taymans [Thu, 22 Jan 2009 12:12:02 +0000 (13:12 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base

15 years agoReduce the number of allocations for creating FFT contexts
Sebastian Dröge [Thu, 22 Jan 2009 09:14:28 +0000 (10:14 +0100)]
Reduce the number of allocations for creating FFT contexts

Reduce the number of allocations from 2 to 1 for every FFT
context by allocating enough memory for the FFT context
and passing parts of it to the kissfft allocation functions.

15 years agoBack to devel -> 0.10.22.1
Jan Schmidt [Thu, 22 Jan 2009 11:32:56 +0000 (11:32 +0000)]
Back to devel -> 0.10.22.1

15 years agoInstall and use pre-commit indentation hook from common
Edward Hervey [Thu, 22 Jan 2009 04:57:53 +0000 (05:57 +0100)]
Install and use pre-commit indentation hook from common

15 years agoAvoid overflows in the padding checks by doing the check slightly
Wim Taymans [Wed, 21 Jan 2009 12:09:29 +0000 (13:09 +0100)]
Avoid overflows in the padding checks by doing the check slightly
differently.
Add a unit test to check for correct behaviour.

15 years agoautogen.sh : Use git submodule
Edward Hervey [Wed, 21 Jan 2009 03:31:32 +0000 (04:31 +0100)]
autogen.sh : Use git submodule

15 years agoRelease 0.10.22
Jan Schmidt [Mon, 19 Jan 2009 23:10:50 +0000 (23:10 +0000)]
Release 0.10.22

Original commit message from CVS:
Release 0.10.22

15 years agoUpdate .po files
Jan Schmidt [Mon, 19 Jan 2009 22:01:01 +0000 (22:01 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

15 years agogst-libs/gst/fft/: Use correct struct alignment everywhere to prevent unaligned memor...
Sebastian Dröge [Fri, 16 Jan 2009 11:44:04 +0000 (11:44 +0000)]
gst-libs/gst/fft/: Use correct struct alignment everywhere to prevent unaligned memory accesses, resulting in SIGBUS ...

Original commit message from CVS:
* gst-libs/gst/fft/_kiss_fft_guts_f32.h:
* gst-libs/gst/fft/_kiss_fft_guts_f64.h:
* gst-libs/gst/fft/_kiss_fft_guts_s16.h:
* gst-libs/gst/fft/_kiss_fft_guts_s32.h:
* gst-libs/gst/fft/kiss_fftr_f32.c: (kiss_fftr_f32_alloc):
* gst-libs/gst/fft/kiss_fftr_f64.c: (kiss_fftr_f64_alloc):
* gst-libs/gst/fft/kiss_fftr_s16.c: (kiss_fftr_s16_alloc):
* gst-libs/gst/fft/kiss_fftr_s32.c: (kiss_fftr_s32_alloc):
Use correct struct alignment everywhere to prevent unaligned
memory accesses, resulting in SIGBUS on sparc and probably others.
Fixes bug #500833.

15 years agogst-libs/gst/tag/gsttagdemux.c: Forward unknown events upstream to allow latency...
Sebastian Dröge [Fri, 16 Jan 2009 11:40:02 +0000 (11:40 +0000)]
gst-libs/gst/tag/gsttagdemux.c: Forward unknown events upstream to allow latency configuration.

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_srcpad_event):
Forward unknown events upstream to allow latency configuration.
Fixes bug #567960.

15 years agogst/playback/gstplaybin2.c: Provide the right arguments to a debug line.
Wim Taymans [Tue, 13 Jan 2009 14:47:19 +0000 (14:47 +0000)]
gst/playback/gstplaybin2.c: Provide the right arguments to a debug line.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (groups_set_locked_state):
Provide the right arguments to a debug line.

15 years agosys/xvimage/xvimagesink.c: Don't reset the colorkey when element is reused. Fixes...
Stefan Kost [Tue, 13 Jan 2009 06:51:54 +0000 (06:51 +0000)]
sys/xvimage/xvimagesink.c: Don't reset the colorkey when element is reused. Fixes #567511.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
Don't reset the colorkey when element is reused. Fixes #567511.

15 years agoconfigure.ac: 0.10.21.3 pre-release
Jan Schmidt [Fri, 9 Jan 2009 23:42:22 +0000 (23:42 +0000)]
configure.ac: 0.10.21.3 pre-release

Original commit message from CVS:
* configure.ac:
0.10.21.3 pre-release

15 years agogst-libs/gst/app/gstappsink.c: Store the returned signal id in the right slot when...
Jan Schmidt [Fri, 9 Jan 2009 23:13:17 +0000 (23:13 +0000)]
gst-libs/gst/app/gstappsink.c: Store the returned signal id in the right slot when registering the pull-buffer signal.

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c:
Store the returned signal id in the right slot when
registering the pull-buffer signal.
Fixes #567168
Spotted by: Thomas Vander Stichele  <thomas at apestaart dot org>

15 years agogst-libs/gst/interfaces/mixer.c: Small docs addition to clarify that one really mustn...
Tim-Philipp Müller [Fri, 9 Jan 2009 17:17:50 +0000 (17:17 +0000)]
gst-libs/gst/interfaces/mixer.c: Small docs addition to clarify that one really mustn't free the constant GList retur...

Original commit message from CVS:
* gst-libs/gst/interfaces/mixer.c:
Small docs addition to clarify that one really mustn't free
the constant GList returned (#566812).

15 years agoAdd GType for GstRTSPUrl and expose a copy function because we can.
Wim Taymans [Thu, 8 Jan 2009 17:18:24 +0000 (17:18 +0000)]
Add GType for GstRTSPUrl and expose a copy function because we can.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/rtsp/gstrtspurl.c: (register_rtsp_url_type),
(gst_rtsp_url_get_type), (gst_rtsp_url_copy):
* gst-libs/gst/rtsp/gstrtspurl.h:
* win32/common/libgstrtsp.def:
Add GType for GstRTSPUrl and expose a copy function because we can.
API: gst_rtsp_url_copy()
Fixes #567027.

15 years agoAdd plugin dependency for the GIO and GVfs modules.
Sebastian Dröge [Wed, 7 Jan 2009 18:36:04 +0000 (18:36 +0000)]
Add plugin dependency for the GIO and GVfs modules.

Original commit message from CVS:
* configure.ac:
* ext/gio/gstgio.c: (plugin_init):
Add plugin dependency for the GIO and GVfs modules.
Fixes bug #566876.

15 years agoAdd plugin dependency for the gnomevfs modules.
Sebastian Dröge [Wed, 7 Jan 2009 18:32:33 +0000 (18:32 +0000)]
Add plugin dependency for the gnomevfs modules.

Original commit message from CVS:
* configure.ac:
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
Add plugin dependency for the gnomevfs modules.
Fixes bug #566875.

15 years agowin32/common/libgstcdda.def: Add new symbol to the list of exported symbols.
Sebastian Dröge [Wed, 7 Jan 2009 18:30:52 +0000 (18:30 +0000)]
win32/common/libgstcdda.def: Add new symbol to the list of exported symbols.

Original commit message from CVS:
* win32/common/libgstcdda.def:
Add new symbol to the list of exported symbols.

15 years agogst/playback/gstplaybin2.c: Fix some comments and docs.
Wim Taymans [Wed, 7 Jan 2009 13:52:14 +0000 (13:52 +0000)]
gst/playback/gstplaybin2.c: Fix some comments and docs.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_set_uri), (gst_play_bin_set_suburi),
(no_more_pads_cb), (drained_cb), (group_set_locked_state_unlocked),
(activate_group), (deactivate_group), (groups_set_locked_state),
(gst_play_bin_change_state):
Fix some comments and docs.
Post an error message when we fail to link the selector to the sink.
Remove pushing of EOS, this seems unneeded.
Lock the state of deactivated groups so that they don't accidentally
reactivate when the playbin2 state changes.
Reuse uridecodebins.
Unlock and relock state of groups when playbin goes to NULL.
Fixes #566654.
Fixes #566341.
* gst/playback/gsturidecodebin.c: (pad_removed_cb), (type_found):
Only do something in the pad removed callback when we are dealing with
our sourcepads because the sinkpads don't have a ghostpad.

15 years agogst-libs/gst/cdda/gstcddabasesrc.*: Make the GType of GstCDDABaseSrcMode public for...
Sebastian Dröge [Wed, 7 Jan 2009 10:50:15 +0000 (10:50 +0000)]
gst-libs/gst/cdda/gstcddabasesrc.*: Make the GType of GstCDDABaseSrcMode public for bindings.

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
* gst-libs/gst/cdda/gstcddabasesrc.h:
Make the GType of GstCDDABaseSrcMode public for bindings.
Fixes bug #566837.

15 years agoUse new core API to make registry re-scan the plugin whenever visualisations are...
Tim-Philipp Müller [Tue, 6 Jan 2009 18:03:51 +0000 (18:03 +0000)]
Use new core API to make registry re-scan the plugin whenever visualisations are added or removed (see #350477).

Original commit message from CVS:
* configure.ac:
* ext/libvisual/visual.c: (plugin_init):
Use new core API to make registry re-scan the plugin
whenever visualisations are added or removed (see #350477).

15 years agogst-libs/gst/audio/gstaudioclock.*: Make gst_audio_clock_new use const gchar* to...
José Alburquerque [Tue, 6 Jan 2009 17:30:31 +0000 (17:30 +0000)]
gst-libs/gst/audio/gstaudioclock.*: Make gst_audio_clock_new use const gchar* to ease the wrapping of

Original commit message from CVS:
Patch by: José Alburquerque <jaalburqu svn gnome org>
* gst-libs/gst/audio/gstaudioclock.c: (gst_audio_clock_new):
* gst-libs/gst/audio/gstaudioclock.h:
Make gst_audio_clock_new use const gchar* to ease the wrapping of
C++ bindings. Fixes #566723.

15 years agoAdd pkg-config files for libgstapp. Fixes bug #566761.
Sebastian Dröge [Tue, 6 Jan 2009 12:16:18 +0000 (12:16 +0000)]
Add pkg-config files for libgstapp. Fixes bug #566761.

Original commit message from CVS:
* configure.ac:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-app-uninstalled.pc.in:
* pkgconfig/gstreamer-app.pc.in:
Add pkg-config files for libgstapp. Fixes bug #566761.

15 years agogst-libs/gst/app/: Make debug categories static. Use _element_class_set_details_simple().
Tim-Philipp Müller [Tue, 6 Jan 2009 11:10:29 +0000 (11:10 +0000)]
gst-libs/gst/app/: Make debug categories static. Use _element_class_set_details_simple().

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsink.h:
* gst-libs/gst/app/gstappsrc.c:
* gst-libs/gst/app/gstappsrc.h:
Make debug categories static. Use _element_class_set_details_simple().

15 years agogst-libs/gst/app/: Move private data into a private instance struct. Add padding...
Tim-Philipp Müller [Tue, 6 Jan 2009 10:56:45 +0000 (10:56 +0000)]
gst-libs/gst/app/: Move private data into a private instance struct. Add padding to instance and class structures exp...

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (_GstAppSinkPrivate),
(gst_app_sink_class_init), (gst_app_sink_init),
(gst_app_sink_dispose), (gst_app_sink_finalize),
(gst_app_sink_unlock_start), (gst_app_sink_unlock_stop),
(gst_app_sink_flush_unlocked), (gst_app_sink_start),
(gst_app_sink_stop), (gst_app_sink_event), (gst_app_sink_preroll),
(gst_app_sink_render), (gst_app_sink_getcaps),
(gst_app_sink_set_caps), (gst_app_sink_get_caps),
(gst_app_sink_is_eos), (gst_app_sink_set_emit_signals),
(gst_app_sink_get_emit_signals), (gst_app_sink_set_max_buffers),
(gst_app_sink_get_max_buffers), (gst_app_sink_set_drop),
(gst_app_sink_get_drop), (gst_app_sink_pull_preroll),
(gst_app_sink_pull_buffer)::
* gst-libs/gst/app/gstappsink.h: (GstAppSinkPrivate), (_GstAppSink)::
* gst-libs/gst/app/gstappsrc.c: (_GstAppSrcPrivate),
(gst_app_src_class_init), (gst_app_src_init),
(gst_app_src_flush_queued), (gst_app_src_dispose),
(gst_app_src_finalize), (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_query), (gst_app_src_do_seek), (gst_app_src_create),
(gst_app_src_set_caps), (gst_app_src_get_caps),
(gst_app_src_set_size), (gst_app_src_get_size),
(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_set_latencies), (gst_app_src_set_latency),
(gst_app_src_get_latency), (gst_app_src_push_buffer_full),
(gst_app_src_push_buffer_action), (gst_app_src_end_of_stream)::
* gst-libs/gst/app/gstappsrc.h: (GstAppSrcPrivate)::
Move private data into a private instance struct. Add padding to
instance and class structures exposed in public headers. Add
Since markers to the gtk-doc blurbs (#566750).

15 years agotests/examples/app/appsrc_ex.c: Some comments.
Wim Taymans [Tue, 6 Jan 2009 10:50:37 +0000 (10:50 +0000)]
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.

15 years agogst-libs/gst/video/: Fix up build flags and include statement for the new generated...
Jan Schmidt [Tue, 6 Jan 2009 10:16:16 +0000 (10:16 +0000)]
gst-libs/gst/video/: Fix up build flags and include statement for the new generated enumtypes files, to fix dist.

Original commit message from CVS:
* gst-libs/gst/video/Makefile.am:
* gst-libs/gst/video/video.h:
Fix up build flags and include statement for the new generated
enumtypes files, to fix dist.

15 years agoMove AppSrc/AppSink from gst-plugins-bad. Fixes #564421
Jan Schmidt [Mon, 5 Jan 2009 23:04:57 +0000 (23:04 +0000)]
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

15 years agogst-libs/gst/audio/gstbaseaudiosink.c: Avoid holding the OBJECT_LOCK when calling...
Wim Taymans [Mon, 5 Jan 2009 17:13:13 +0000 (17:13 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Avoid holding the OBJECT_LOCK when calling ringbuffer functions that take the ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_change_state):
Avoid holding the OBJECT_LOCK when calling ringbuffer functions that
take the ringbuffer lock because rinbuffer lock > OBJECT_LOCK. We can do
this because the async_play method is deprecated and usually not called
anymore.

15 years agogst/playback/gstplaybin2.c: Disconnect signal handlers before destroying a previous...
Wim Taymans [Mon, 5 Jan 2009 12:18:52 +0000 (12:18 +0000)]
gst/playback/gstplaybin2.c: Disconnect signal handlers before destroying a previous decodebin so that we don't end up...

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (notify_source_cb), (activate_group):
Disconnect signal handlers before destroying a previous decodebin so
that we don't end up causing deadlocks. Fixes #566586.

15 years agogst/audiotestsrc/gstaudiotestsrc.*: Add property to control pull/push based scheduling.
Wim Taymans [Mon, 5 Jan 2009 10:59:35 +0000 (10:59 +0000)]
gst/audiotestsrc/gstaudiotestsrc.*: Add property to control pull/push based scheduling.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_class_init), (gst_audio_test_src_init),
(gst_audio_test_src_check_get_range),
(gst_audio_test_src_set_property),
(gst_audio_test_src_get_property):
* gst/audiotestsrc/gstaudiotestsrc.h:
Add property to control pull/push based scheduling.

15 years agoMake the seek and colorkey examples depend on gtk+-x11 as they use
Alessandro Decina [Fri, 2 Jan 2009 15:04:13 +0000 (15:04 +0000)]
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.

15 years agowin32/common/: Add new exports to win32 files.
Jan Schmidt [Wed, 31 Dec 2008 16:04:26 +0000 (16:04 +0000)]
win32/common/: Add new exports to win32 files.

Original commit message from CVS:
* win32/common/libgstaudio.def:
* win32/common/libgsttag.def:
* win32/common/libgstvideo.def:
Add new exports to win32 files.

15 years agogst-libs/gst/tag/gsttagdemux.*: Add GType for GstTagDemuxResult enum.
Edward Hervey [Wed, 31 Dec 2008 13:31:55 +0000 (13:31 +0000)]
gst-libs/gst/tag/gsttagdemux.*: Add GType for GstTagDemuxResult enum.

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_result_get_type):
* gst-libs/gst/tag/gsttagdemux.h:
Add GType for GstTagDemuxResult enum.

15 years agogst-libs/gst/video/: Add glib-mkenum for GstVideoFormat enum GTYPE auto-generation.
Edward Hervey [Wed, 31 Dec 2008 13:01:30 +0000 (13:01 +0000)]
gst-libs/gst/video/: Add glib-mkenum for GstVideoFormat enum GTYPE auto-generation.

Original commit message from CVS:
* gst-libs/gst/video/Makefile.am:
* gst-libs/gst/video/video.h:
Add glib-mkenum for GstVideoFormat enum GTYPE auto-generation.
This will help bindings to use it.

15 years agoSwitch glib-mkenum for gst-libs/gst/audio from multichannel- to audio- in order to...
Edward Hervey [Wed, 31 Dec 2008 11:20:26 +0000 (11:20 +0000)]
Switch glib-mkenum for gst-libs/gst/audio from multichannel- to audio- in order to wrap all enums declarations of tha...

Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/audio.c:
* gst-libs/gst/audio/multichannel.h:
* gst-libs/gst/audio/testchannels.c:
* win32/MANIFEST:
* win32/common/audio-enumtypes.c:
(gst_audio_channel_position_get_type),
(gst_ring_buffer_state_get_type),
(gst_ring_buffer_seg_state_get_type),
(gst_buffer_format_type_get_type), (gst_buffer_format_get_type):
* win32/common/audio-enumtypes.h:
* win32/common/multichannel-enumtypes.c:
* win32/common/multichannel-enumtypes.h:
* win32/vs6/grammar.dsp:
* win32/vs6/libgstaudio.dsp:
* win32/vs7/libgstaudio.vcproj:
* win32/vs8/libgstaudio.vcproj:
Switch glib-mkenum for gst-libs/gst/audio from multichannel- to
audio- in order to wrap all enums declarations of that library.
This modification should not matter since that header file is not a
public header (it will be included by public headers).
Modify win32 crap^Wfiles accordingly.

15 years agogst-libs/gst/audio/: Complete Sebastien's commit from the 13th by exporting the _slav...
Edward Hervey [Tue, 30 Dec 2008 17:55:07 +0000 (17:55 +0000)]
gst-libs/gst/audio/: Complete Sebastien's commit from the 13th by exporting the _slave_method_get_type() methods.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.h:
* gst-libs/gst/audio/gstbaseaudiosink.h:
Complete Sebastien's commit from the 13th by exporting the
_slave_method_get_type() methods.

15 years agogst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and retrieve...
Wim Taymans [Mon, 29 Dec 2008 16:45:20 +0000 (16:45 +0000)]
gst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and retrieve the min and max latencies.

Original commit message from CVS:
* 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_query),
(gst_app_src_set_latencies), (gst_app_src_set_latency),
(gst_app_src_get_latency), (gst_app_src_push_buffer_full):
* gst-libs/gst/app/gstappsrc.h:
Add properties and methods to configure and retrieve the min and max
latencies.

15 years agoext/: Implement URI query. Fixes bug #562949.
Sebastian Dröge [Sat, 20 Dec 2008 17:38:41 +0000 (17:38 +0000)]
ext/: Implement URI query. Fixes bug #562949.

Original commit message from CVS:
* ext/gio/gstgiobasesink.c: (gst_gio_base_sink_query):
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_class_init),
(gst_gio_base_src_query):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_query):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init),
(gst_gnome_vfs_src_query):
Implement URI query. Fixes bug #562949.

15 years agogst/playback/gstplaybin2.c: Add some debug info.
Wim Taymans [Sat, 20 Dec 2008 12:48:43 +0000 (12:48 +0000)]
gst/playback/gstplaybin2.c: Add some debug info.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (no_more_pads_cb):
Add some debug info.
* gst/playback/gstplaysink.c: (gen_video_chain), (gen_audio_chain),
(gst_play_sink_reconfigure), (gst_play_sink_request_pad),
(gst_play_sink_release_pad):
Add some more debug info.
Reconfigure the audio chain when we switch between raw and encoded audio
in gapless playback.

15 years agogst-libs/gst/audio/gstbaseaudiosink.c: Pause the write thread before deactivating...
Wim Taymans [Sat, 20 Dec 2008 12:45:03 +0000 (12:45 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Pause the write thread before deactivating and releasing the ringbuffer to avo...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_setcaps):
Pause the write thread before deactivating and releasing the ringbuffer
to avoid a deadlock when we do gapless playback with different sample
rates in playbin2.  Fixes #564929.

15 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Make GstAudioSrcSlaveMethod get_type() function...
Sebastian Dröge [Fri, 19 Dec 2008 13:03:00 +0000 (13:03 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Make GstAudioSrcSlaveMethod get_type() function non-static as it's public now.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
Make GstAudioSrcSlaveMethod get_type() function non-static
as it's public now.
* win32/common/libgstaudio.def:
* win32/common/libgstnetbuffer.def:
Add some missing functions to the list of exported symbols.

15 years agogst-libs/gst/netbuffer/gstnetbuffer.*: Make gst_netaddress_get_ip4_address fail for...
Andrew Feren [Thu, 18 Dec 2008 12:37:33 +0000 (12:37 +0000)]
gst-libs/gst/netbuffer/gstnetbuffer.*: Make gst_netaddress_get_ip4_address fail for v6 addresses.

Original commit message from CVS:
Patch by: Andrew Feren <acferen at yahoo dot com>
* gst-libs/gst/netbuffer/gstnetbuffer.c:
(gst_netaddress_get_ip4_address), (gst_netaddress_get_ip6_address),
(gst_netaddress_get_address_bytes),
(gst_netaddress_set_address_bytes):
* gst-libs/gst/netbuffer/gstnetbuffer.h:
Make gst_netaddress_get_ip4_address fail for v6 addresses.
Make gst_netaddress_get_ip6_address either fail or return the v4
address as a transitional v6 address.
Add two convenience functions:
API: gst_netaddress_get_address_bytes()
API: gst_netaddress_set_address_bytes()
Fixes #564896.

15 years agoAdd appsrc and appsink documentation.
Wim Taymans [Wed, 17 Dec 2008 13:51:46 +0000 (13:51 +0000)]
Add appsrc and appsink documentation.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init):
Add appsrc and appsink documentation.

15 years agogst/adder/: Cleanup variable names to make the adder-loop easier to understand.
Stefan Kost [Wed, 17 Dec 2008 08:51:34 +0000 (08:51 +0000)]
gst/adder/: Cleanup variable names to make the adder-loop easier to understand.

Original commit message from CVS:
* gst/adder/Makefile.am:
* gst/adder/gstadder.c:
Cleanup variable names to make the adder-loop easier to understand.
Also try to use liboil to spee it up, but ifdef it out as it does not
make any change for me (Intel pentim M (sse,sse2) please try on other
systems).

15 years agoAdd minimal docs to make the remaining tcp elements show up.
Wim Taymans [Tue, 16 Dec 2008 20:16:17 +0000 (20:16 +0000)]
Add minimal docs to make the remaining tcp elements show up.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpserversrc.c:
Add minimal docs to make the remaining tcp elements show up.
Fixes #564139.

15 years agoexamples/app/: Fix example to unref after emiting the push-buffer action.
Wim Taymans [Mon, 15 Dec 2008 12:02:26 +0000 (12:02 +0000)]
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.

15 years agowin32/common/config.h: Update to CVS version.
Tim-Philipp Müller [Sat, 13 Dec 2008 19:32:13 +0000 (19:32 +0000)]
win32/common/config.h: Update to CVS version.

Original commit message from CVS:
* win32/common/config.h:
Update to CVS version.
* win32/common/config.h.in:
Hardcode path to plugin install helper exe, just like we hardcode
the paths in core. Removes another source of VCS conflicts for
people hacking gst-plugins-base on systems with autotools.

15 years agom4/Makefile.am: And a couple more .m4 that don't exist anymore with gettext 0.17
Edward Hervey [Sat, 13 Dec 2008 16:21:12 +0000 (16:21 +0000)]
m4/Makefile.am: And a couple more .m4 that don't exist anymore with gettext 0.17

Original commit message from CVS:
* m4/Makefile.am:
And a couple more .m4 that don't exist anymore with gettext 0.17

15 years agom4/Makefile.am: inttypes.m4 hasn't been available since gettext-0.15, and since we...
Edward Hervey [Sat, 13 Dec 2008 12:41:56 +0000 (12:41 +0000)]
m4/Makefile.am: inttypes.m4 hasn't been available since gettext-0.15, and since we now require gettext >= 0.17 ... we...

Original commit message from CVS:
* m4/Makefile.am:
inttypes.m4 hasn't been available since gettext-0.15, and since we now
require gettext >= 0.17 ... we can remove it from the list of files to
dist.

15 years agogst-libs/gst/audio/: API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the...
Sebastian Dröge [Sat, 13 Dec 2008 06:57:09 +0000 (06:57 +0000)]
gst-libs/gst/audio/: API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the public API. This is needed for the C...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_slave_method_get_type),
(gst_base_audio_sink_class_init):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_slave_method_get_type),
(gst_base_audio_src_class_init):
* gst-libs/gst/audio/gstbaseaudiosrc.h:
API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the
public API. This is needed for the C++ bindings to be able
to use this base classes. Fixes bug #564200, #564206.

15 years agogst-libs/gst/cdda/gstcddabasesrc.c: Remove erroneous gst_buffer_ref().
Edward Hervey [Fri, 12 Dec 2008 19:41:28 +0000 (19:41 +0000)]
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.