platform/upstream/gstreamer.git
16 years agoRelease 0.10.16
Jan Schmidt [Mon, 28 Jan 2008 23:31:26 +0000 (23:31 +0000)]
Release 0.10.16

Original commit message from CVS:
Release 0.10.16

16 years agoUpdate .po files
Jan Schmidt [Mon, 28 Jan 2008 22:15:47 +0000 (22:15 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agogst-libs/gst/rtp/gstrtpbuffer.c: Fix typos and wrong extension check. Fixes #511274.
Thijs Vermeir [Tue, 22 Jan 2008 15:37:49 +0000 (15:37 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Fix typos and wrong extension check. Fixes #511274.

Original commit message from CVS:
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
* gst-libs/gst/rtp/gstrtpbuffer.c:
(gst_rtp_buffer_get_extension_data):
Fix typos and wrong extension check. Fixes #511274.

16 years agopo/sk.po: Oops - add new sk.po mentioned in the LINGUAS I just committed
Jan Schmidt [Fri, 18 Jan 2008 00:03:18 +0000 (00:03 +0000)]
po/sk.po: Oops - add new sk.po mentioned in the LINGUAS I just committed

Original commit message from CVS:
* po/sk.po:
Oops - add new sk.po mentioned in the LINGUAS I just committed

16 years agopo/LINGUAS: Add ca translation to the disted list.
Jan Schmidt [Thu, 17 Jan 2008 22:31:25 +0000 (22:31 +0000)]
po/LINGUAS: Add ca translation to the disted list.

Original commit message from CVS:
* po/LINGUAS:
Add ca translation to the disted list.
* win32/vs6/libgstsdp.dsp:
Convert line endings to CRLF

16 years agowin32/MANIFEST: Add win32/vs6/libgstrtsp.dsp to MANIFEST
Sébastien Moutte [Thu, 17 Jan 2008 21:58:53 +0000 (21:58 +0000)]
win32/MANIFEST: Add win32/vs6/libgstrtsp.dsp to MANIFEST

Original commit message from CVS:
* win32/MANIFEST:
Add win32/vs6/libgstrtsp.dsp to MANIFEST

16 years agoUpdate for API changes in GIO and require GIO 2.15.2 for this.
Sebastian Dröge [Wed, 16 Jan 2008 05:40:48 +0000 (05:40 +0000)]
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.

16 years agowin32/common/: Add new API declarations
Jan Schmidt [Mon, 14 Jan 2008 22:20:12 +0000 (22:20 +0000)]
win32/common/: Add new API declarations

Original commit message from CVS:
* win32/common/libgstsdp.def:
* win32/common/libgstvideo.def:
Add new API declarations

16 years agoext/theora/: Take a 2nd stab at handling libtheora granulepos changes in the decoder...
Jan Schmidt [Mon, 14 Jan 2008 17:00:03 +0000 (17:00 +0000)]
ext/theora/: Take a 2nd stab at handling libtheora granulepos changes in the decoder and parser by inspecting the bit...

Original commit message from CVS:
* ext/theora/gsttheoradec.h:
* ext/theora/gsttheoraparse.h:
* ext/theora/theoradec.c:
* ext/theora/theoraparse.c:
Take a 2nd stab at handling libtheora granulepos changes in the decoder
and parser by inspecting the bitstream version of the incoming data.

16 years agoProvide one pkg-config file for every gst-plugins-base library.
Sebastian Dröge [Mon, 14 Jan 2008 13:11:05 +0000 (13:11 +0000)]
Provide one pkg-config file for every gst-plugins-base library.

Original commit message from CVS:
* configure.ac:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-audio-uninstalled.pc.in:
* pkgconfig/gstreamer-audio.pc.in:
* pkgconfig/gstreamer-cdda-uninstalled.pc.in:
* pkgconfig/gstreamer-cdda.pc.in:
* pkgconfig/gstreamer-fft-uninstalled.pc.in:
* pkgconfig/gstreamer-fft.pc.in:
* pkgconfig/gstreamer-floatcast-uninstalled.pc.in:
* pkgconfig/gstreamer-floatcast.pc.in:
* pkgconfig/gstreamer-interfaces-uninstalled.pc.in:
* pkgconfig/gstreamer-interfaces.pc.in:
* pkgconfig/gstreamer-netbuffer-uninstalled.pc.in:
* pkgconfig/gstreamer-netbuffer.pc.in:
* pkgconfig/gstreamer-pbutils-uninstalled.pc.in:
* pkgconfig/gstreamer-pbutils.pc.in:
* pkgconfig/gstreamer-riff-uninstalled.pc.in:
* pkgconfig/gstreamer-riff.pc.in:
* pkgconfig/gstreamer-rtp-uninstalled.pc.in:
* pkgconfig/gstreamer-rtp.pc.in:
* pkgconfig/gstreamer-rtsp-uninstalled.pc.in:
* pkgconfig/gstreamer-rtsp.pc.in:
* pkgconfig/gstreamer-sdp-uninstalled.pc.in:
* pkgconfig/gstreamer-sdp.pc.in:
* pkgconfig/gstreamer-tag-uninstalled.pc.in:
* pkgconfig/gstreamer-tag.pc.in:
* pkgconfig/gstreamer-video-uninstalled.pc.in:
* pkgconfig/gstreamer-video.pc.in:
Provide one pkg-config file for every gst-plugins-base library.
This makes linking to those libraries much more intuitive and
provides standard pkg-config behaviour for them. Fixes bug #499697.

16 years agogst/videoscale/vs_4tap.c: Fix valgrind error on 4tap scaling method.
David Schleef [Mon, 14 Jan 2008 01:19:34 +0000 (01:19 +0000)]
gst/videoscale/vs_4tap.c: Fix valgrind error on 4tap scaling method.

Original commit message from CVS:
* gst/videoscale/vs_4tap.c:
Fix valgrind error on 4tap scaling method.

16 years agogst-libs/gst/sdp/gstsdpmessage.c: Include Winsock2.h for VS6 and use a different...
Sébastien Moutte [Sun, 13 Jan 2008 21:40:45 +0000 (21:40 +0000)]
gst-libs/gst/sdp/gstsdpmessage.c: Include Winsock2.h for VS6 and use a different way initialize hints structure so it...

Original commit message from CVS:
* gst-libs/gst/sdp/gstsdpmessage.c: (is_multicast_address):
Include Winsock2.h for VS6 and use a different way initialize
hints structure so it can build with VS6.
* win32/MANIFEST:
* win32/vs6/libgstsdp.dsp:
* win32/common/libgstsdp.def:
Add new files for libgstsdp.
* win32/vs6/grammar.dsp:
Copy pbutils-enumtypes* from win32/common to pbutils sources folder.
* win32/vs6/gst_plugins_base.dsw:
* win32/vs6/libgstdecodebin.dsp:
* win32/vs6/libgstdecodebin2.dsp:
* win32/vs6/libgstplaybin.dsp:
* win32/vs6/libgstvolume.dsp:
Add new dependencies to the link list.

16 years agowin32/common/: Update/Add generated files in the win32 build directory.
Julien Moutte [Sun, 13 Jan 2008 17:24:49 +0000 (17:24 +0000)]
win32/common/: Update/Add generated files in the win32 build directory.

Original commit message from CVS:
2008-01-13  Julien Moutte  <julien@fluendo.com>

* win32/common/config.h:
* win32/common/gstrtsp-enumtypes.c: (gst_rtsp_result_get_type),
(gst_rtsp_event_get_type), (gst_rtsp_family_get_type),
(gst_rtsp_state_get_type), (gst_rtsp_version_get_type),
(gst_rtsp_method_get_type), (gst_rtsp_auth_method_get_type),
(gst_rtsp_header_field_get_type),
(gst_rtsp_status_code_get_type):
* win32/common/interfaces-enumtypes.c:
(gst_color_balance_type_get_type), (gst_mixer_type_get_type),
(gst_mixer_message_type_get_type), (gst_mixer_flags_get_type),
(gst_mixer_track_flags_get_type),
(gst_tuner_channel_flags_get_type):
* win32/common/multichannel-enumtypes.c:
(gst_audio_channel_position_get_type):
* win32/common/pbutils-enumtypes.c:
(gst_install_plugins_return_get_type):
* win32/common/pbutils-enumtypes.h: Update/Add generated files
in the win32 build directory.

16 years agotests/check/Makefile.am: Fix CFLAGS to also pull in the gstcheck cflags from AM_CFLAGS.
Jan Schmidt [Sat, 12 Jan 2008 23:24:02 +0000 (23:24 +0000)]
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.

16 years agoAdd test to see if hstrerror is available or if we need libresolv (Solaris) for it...
Jan Schmidt [Sat, 12 Jan 2008 23:08:28 +0000 (23:08 +0000)]
Add test to see if hstrerror is available or if we need libresolv (Solaris) for it, then use it in libgstrtsp.

Original commit message from CVS:
* configure.ac:
* gst-libs/gst/rtsp/Makefile.am:
Add test to see if hstrerror is available or if we need libresolv
(Solaris) for it, then use it in libgstrtsp.

16 years agogst-libs/gst/tag/Makefile.am: Fix include path order
Jan Schmidt [Sat, 12 Jan 2008 14:54:51 +0000 (14:54 +0000)]
gst-libs/gst/tag/Makefile.am: Fix include path order

Original commit message from CVS:
* gst-libs/gst/tag/Makefile.am:
Fix include path order

16 years agoIgnore more and make buildbot happy
Tim-Philipp Müller [Fri, 11 Jan 2008 17:15:23 +0000 (17:15 +0000)]
Ignore more and make buildbot happy

Original commit message from CVS:
Ignore more and make buildbot happy

16 years agogst-libs/gst/pbutils/install-plugins.*: Add GBoxed GType for GstInstallPluginsContext...
Edward Hervey [Fri, 11 Jan 2008 16:18:10 +0000 (16:18 +0000)]
gst-libs/gst/pbutils/install-plugins.*: Add GBoxed GType for GstInstallPluginsContext, this eases the wrapping for bi...

Original commit message from CVS:
* gst-libs/gst/pbutils/install-plugins.c:
(gst_install_plugins_context_copy),
(gst_install_plugins_context_get_type):
* gst-libs/gst/pbutils/install-plugins.h:
Add GBoxed GType for GstInstallPluginsContext, this eases the wrapping
for bindings.

16 years agoext/theora/theoradec.c: Adapt for post-alpha meaning of granulepos, when we have...
Michael Smith [Fri, 11 Jan 2008 15:48:11 +0000 (15:48 +0000)]
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

16 years agogst-libs/gst/audio/: Ref audio clock class from a thread-safe context to make sure...
Tim-Philipp Müller [Thu, 10 Jan 2008 17:55:53 +0000 (17:55 +0000)]
gst-libs/gst/audio/: Ref audio clock class from a thread-safe context to make sure however unlikely that may be in pr...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init):
Ref audio clock class from a thread-safe context to make sure
we're not bit by GObjects lack of thread-safety here (#349410),
however unlikely that may be in practice.

16 years agoautogen.sh: Add -Wno-portability to the automake parameters to stop warnings about...
Sebastian Dröge [Thu, 10 Jan 2008 12:22:46 +0000 (12:22 +0000)]
autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...

Original commit message from CVS:
* autogen.sh:
Add -Wno-portability to the automake parameters to stop warnings
about GNU make extensions being used. We require GNU make in almost
every Makefile anyway.
* configure.ac:
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
at the same time is required for per target flags.

16 years agogst-libs/gst/tag/gsttagdemux.c: Post an error message if we can't pull as many bytes...
Tim-Philipp Müller [Tue, 8 Jan 2008 21:10:02 +0000 (21:10 +0000)]
gst-libs/gst/tag/gsttagdemux.c: Post an error message if we can't pull as many bytes as we need for the tag. This mak...

Original commit message from CVS:
* gst-libs/gst/tag/gsttagdemux.c: (gst_tag_demux_pull_start_tag):
Post an error message if we can't pull as many bytes as we need
for the tag. This makes sure the user gets to see a proper error
message if a file with a partial ID3 tag is fed to decodebin, and
not a 'no ID3 tag demuxer' error, which would be confusing
(see #508138).

16 years agogst-libs/gst/pbutils/descriptions.c: Add description strings for ID3, APE, and ICY...
Tim-Philipp Müller [Tue, 8 Jan 2008 20:59:20 +0000 (20:59 +0000)]
gst-libs/gst/pbutils/descriptions.c: Add description strings for ID3, APE, and ICY tags.

Original commit message from CVS:
* gst-libs/gst/pbutils/descriptions.c: (formats):
Add description strings for ID3, APE, and ICY tags.

16 years agogst/playback/gstdecodebin.c: Make sure we error out correctly if we can't activate...
Tim-Philipp Müller [Tue, 8 Jan 2008 20:48:00 +0000 (20:48 +0000)]
gst/playback/gstdecodebin.c: Make sure we error out correctly if we can't activate one of the elements we've added.  ...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Make sure we error out correctly if we can't activate one of
the elements we've added.  Fixes #508138.

16 years agoext/alsa/gstalsamixer.c: Use snd_mixer_selem_set_{playback|capture}_volume_all()...
Bastien Nocera [Mon, 7 Jan 2008 13:59:43 +0000 (13:59 +0000)]
ext/alsa/gstalsamixer.c: Use snd_mixer_selem_set_{playback|capture}_volume_all() if the volume is the same for all ch...

Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess net>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_get_volume),
(check_if_volumes_are_the_same), (gst_alsa_mixer_set_volume):
Use snd_mixer_selem_set_{playback|capture}_volume_all() if
the volume is the same for all channels. This works around
some problem in alsa that leaves us with inconsistent state
for some reason (#486840).

16 years agoext/alsa/gstalsamixer.c: If there's no mixer track by the name of 'Master' or 'Front...
Jerone Young [Mon, 7 Jan 2008 13:19:50 +0000 (13:19 +0000)]
ext/alsa/gstalsamixer.c: If there's no mixer track by the name of 'Master' or 'Front', check if there's one called 'P...

Original commit message from CVS:
Patch by: Jerone Young <jerone at gmail com>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_find_master_mixer):
If there's no mixer track by the name of 'Master' or 'Front',
check if there's one called 'PCM' before trying the generic
fallback logic (fixes #506928, where we pick 'Mic' as master
track for the AD1984 card in a Thinkpad T61/X61 laptop).

16 years agogst/playback/gstplay-enum.*: Add enums for configuration flags.
Wim Taymans [Mon, 7 Jan 2008 11:40:04 +0000 (11:40 +0000)]
gst/playback/gstplay-enum.*: Add enums for configuration flags.

Original commit message from CVS:
* gst/playback/gstplay-enum.c:
(register_gst_autoplug_select_result),
(gst_autoplug_select_result_get_type), (register_gst_play_flags),
(gst_play_flags_get_type):
* gst/playback/gstplay-enum.h:
Add enums for configuration flags.
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(init_group), (gst_play_bin_init), (gst_play_bin_set_property),
(gst_play_bin_get_property), (no_more_pads_cb),
(autoplug_select_cb), (gst_play_bin_change_state):
Merge mode with flags.
Add more property getters/setters, defaults and docs.
Add properties to get number of audio/video/text streams.
Create sink object in _init so that we can always rely on it being
there.
* gst/playback/gstplaysink.c: (gst_play_sink_init),
(gen_video_chain), (gen_audio_chain), (gen_vis_chain),
(activate_vis), (gst_play_sink_reconfigure),
(gst_play_sink_set_flags), (gst_play_sink_get_flags),
(gst_play_sink_change_state):
* gst/playback/gstplaysink.h:
Use flags to configure the sink pipelines.
Add tee before audio pipeline so that we can use it for visualisations.
Start working on integrating visualisations.
Remove mode, we can do everything with the flags now.
Add method to configue the sink pipeline.

16 years agoUpdate to GMemoryInputStream API changes in GLib SVN and require gio-2.0 >= 2.15...
Sebastian Dröge [Sun, 6 Jan 2008 16:36:32 +0000 (16:36 +0000)]
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.

16 years agotests/check/pipelines/theoraenc.c: Turn these functions into macros so we can see...
Tim-Philipp Müller [Sun, 6 Jan 2008 14:39:19 +0000 (14:39 +0000)]
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.

16 years agosys/xvimage/xvimagesink.c: Add debugging information to understand how X calculates...
Julien Moutte [Sat, 5 Jan 2008 22:25:05 +0000 (22:25 +0000)]
sys/xvimage/xvimagesink.c: Add debugging information to understand how X calculates the stride for XvImages.

Original commit message from CVS:
2008-01-05  Julien Moutte  <julien@fluendo.com>

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new): Add
debugging information to understand how X calculates the stride
for XvImages.

16 years agogst/volume/: Use GstAudioFilter as base class for the volume element instead of plain...
Sebastian Dröge [Thu, 3 Jan 2008 20:33:58 +0000 (20:33 +0000)]
gst/volume/: Use GstAudioFilter as base class for the volume element instead of plain GstBaseTransform.

Original commit message from CVS:
* gst/volume/Makefile.am:
* gst/volume/gstvolume.c: (volume_choose_func),
(gst_volume_base_init), (gst_volume_class_init), (gst_volume_init),
(volume_setup):
* gst/volume/gstvolume.h:
Use GstAudioFilter as base class for the volume element instead of
plain GstBaseTransform.

16 years agogst-libs/gst/audio/gstaudiofilter.c: Don't set element details for the abstract GstAu...
Sebastian Dröge [Thu, 3 Jan 2008 07:17:05 +0000 (07:17 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: Don't set element details for the abstract GstAudioFilter class.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_get_type):
Don't set element details for the abstract GstAudioFilter class.

16 years agogst-libs/gst/audio/gstaudiofilter.c: Implement get_unit_size() vmethod of GstBaseTran...
Sebastian Dröge [Wed, 2 Jan 2008 12:09:48 +0000 (12:09 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: Implement get_unit_size() vmethod of GstBaseTransform.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c:
(gst_audio_filter_class_init), (gst_audio_filter_get_unit_size):
Implement get_unit_size() vmethod of GstBaseTransform.

16 years agogst-libs/gst/pbutils/: Use glib-enum generator to have a proper enum GType for
Edward Hervey [Tue, 1 Jan 2008 12:53:48 +0000 (12:53 +0000)]
gst-libs/gst/pbutils/: Use glib-enum generator to have a proper enum GType for

Original commit message from CVS:
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/pbutils.h:
Use glib-enum generator to have a proper enum GType for
GST_TYPE_INSTALL_PLUGINS_RETURN so we can easily wrap it in bindings.

16 years agotests/check/: Reenable theoraenc test, which fails on the buildbot but not locally.
David Schleef [Tue, 1 Jan 2008 01:21:47 +0000 (01:21 +0000)]
tests/check/: Reenable theoraenc test, which fails on the buildbot but not locally.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/theoraenc.c:
Reenable theoraenc test, which fails on the buildbot but
not locally.

16 years agodocs/: Add *-undeclared.txt to fix buildbot.
David Schleef [Mon, 31 Dec 2007 21:31:01 +0000 (21:31 +0000)]
docs/: Add *-undeclared.txt to fix buildbot.

Original commit message from CVS:
* docs/libs/.cvsignore:
* docs/plugins/.cvsignore:
Add *-undeclared.txt to fix buildbot.

16 years agotests/check/Makefile.am: Second attempt at disabling theoraenc test long enough to...
David Schleef [Mon, 31 Dec 2007 20:45:28 +0000 (20:45 +0000)]
tests/check/Makefile.am: Second attempt at disabling theoraenc test long enough to get buildbot to compile -base.

Original commit message from CVS:
* tests/check/Makefile.am:
Second attempt at disabling theoraenc test long enough to
get buildbot to compile -base.

16 years agotests/check/pipelines/theoraenc.c: Disable theoraenc test long enough to get the...
David Schleef [Mon, 31 Dec 2007 20:21:20 +0000 (20:21 +0000)]
tests/check/pipelines/theoraenc.c: Disable theoraenc test long enough to get the buildbot to compile a recent -base.

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c:
Disable theoraenc test long enough to get the buildbot to
compile a recent -base.

16 years agotests/examples/seek/seek.c: Make sure we reset the slider value to 0.0 without racing...
Wim Taymans [Mon, 31 Dec 2007 13:17:29 +0000 (13:17 +0000)]
tests/examples/seek/seek.c: Make sure we reset the slider value to 0.0 without racing against a possible g_idle that ...

Original commit message from CVS:
* tests/examples/seek/seek.c: (stop_cb):
Make sure we reset the slider value to 0.0 without racing against a
possible g_idle that sets it to something else.

16 years agosys/ximage/ximagesink.c: fix typo
Thijs Vermeir [Mon, 31 Dec 2007 00:32:53 +0000 (00:32 +0000)]
sys/ximage/ximagesink.c: fix typo

Original commit message from CVS:
* sys/ximage/ximagesink.c:
fix typo

16 years agogst-libs/gst/rtsp/gstrtspdefs.*: Add Location header so that we can start implementin...
Wim Taymans [Sun, 30 Dec 2007 19:21:16 +0000 (19:21 +0000)]
gst-libs/gst/rtsp/gstrtspdefs.*: Add Location header so that we can start implementing redirects.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspdefs.c: (rtsp_init_status):
* gst-libs/gst/rtsp/gstrtspdefs.h:
Add Location header so that we can start implementing redirects.
See #506025.

16 years agogst/subparse/gstssaparse.c: combine if's
Thijs Vermeir [Sat, 29 Dec 2007 20:55:39 +0000 (20:55 +0000)]
gst/subparse/gstssaparse.c: combine if's

Original commit message from CVS:
* gst/subparse/gstssaparse.c:
combine if's

16 years agogst/subparse/gstssaparse.c: remove duplicate log message
Thijs Vermeir [Sat, 29 Dec 2007 19:23:59 +0000 (19:23 +0000)]
gst/subparse/gstssaparse.c: remove duplicate log message

Original commit message from CVS:
* gst/subparse/gstssaparse.c:
remove duplicate log message

16 years agoUpdate to latest API changes in GLib/GIO and require at least gio-2.0 2.15.0 for...
Sebastian Dröge [Sat, 29 Dec 2007 17:29:17 +0000 (17:29 +0000)]
Update to latest API changes in GLib/GIO and require at least gio-2.0 2.15.0 for this.

Original commit message from CVS:
* configure.ac:
* ext/gio/gstgio.c:
* ext/gio/gstgio.h:
* ext/gio/gstgiobasesink.h:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_get_size):
* ext/gio/gstgiobasesrc.h:
* ext/gio/gstgiosink.c: (gst_gio_sink_start):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.h:
* ext/gio/gstgiostreamsink.h:
* ext/gio/gstgiostreamsrc.h:
* tests/check/pipelines/gio.c:
Update to latest API changes in GLib/GIO and require at least
gio-2.0 2.15.0 for this.
* ext/gio/Makefile.am:
Add GST_PLUGIN_LDFLAGS to LDFLAGS.

16 years agoext/libvisual/visual.c: Fix 'xyz may be used uninitialized' compiler warnings caused...
Sebastian Dröge [Sat, 29 Dec 2007 16:23:23 +0000 (16:23 +0000)]
ext/libvisual/visual.c: Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached()...

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_chain):
Fix 'xyz may be used uninitialized' compiler warnings caused
by broken g_assert_not_reached() macro in GLib-2.15.x and don't
abort() in any case but properly report the error.

16 years agogst/playback/gstplaybin2.c: Code cleanups.
Wim Taymans [Fri, 28 Dec 2007 09:00:27 +0000 (09:00 +0000)]
gst/playback/gstplaybin2.c: Code cleanups.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_finalize), (gst_play_bin_set_uri),
(gst_play_bin_set_suburi), (gst_play_bin_set_property),
(gst_play_bin_get_property), (pad_removed_cb), (drained_cb),
(autoplug_select_cb), (activate_group), (deactivate_group),
(setup_next_source), (save_current_group),
(gst_play_bin_change_state):
Code cleanups.
Remove next-uri, we can use the uri property just fine.
Fix some crasher.
Unref uridecodebin when switching.
Fix going to READY.
* gst/playback/gstplaysink.c: (gst_play_sink_class_init),
(gst_play_sink_init), (gst_play_sink_dispose),
(gst_play_sink_finalize), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_video_sink),
(gst_play_sink_set_audio_sink), (gst_play_sink_set_vis_plugin),
(gst_play_sink_set_property), (gst_play_sink_get_property),
(gen_video_chain), (gen_text_element), (gen_audio_chain),
(gen_vis_element), (gst_play_sink_get_mode),
(gst_play_sink_set_mode), (gst_play_sink_set_flags),
(gst_play_sink_get_flags), (gst_play_sink_request_pad),
(gst_play_sink_release_pad), (gst_play_sink_send_event_to_sink),
(gst_play_sink_change_state):
* gst/playback/gstplaysink.h:
Add some locking to make things threadsafe.
* gst/playback/test7.c: (about_to_finish_cb):
Fix test.

16 years agogst/videoscale/gstvideoscale.c: Don't claim to be able to handle/transform caps that...
Tim-Philipp Müller [Sat, 22 Dec 2007 12:06:47 +0000 (12:06 +0000)]
gst/videoscale/gstvideoscale.c: Don't claim to be able to handle/transform caps that can't really be handled by the c...

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_set_property),
(gst_video_scale_get_property), (gst_video_scale_transform_caps),
(gst_video_scale_transform):
Don't claim to be able to handle/transform caps that can't really
be handled by the currently selected scaling method (here: RGB or
packed YUV with 4-tap method). Also add locking to method property.
* tests/check/pipelines/simple-launch-lines.c: (setup_pipeline),
(test_basetransform_based):
Some test pipelines for the above (not entirely valgrind clean yet
apparently).

16 years agogst-libs/gst/video/video.*: Add additional RGBA and RGB-24 video formats.
David Schleef [Sat, 22 Dec 2007 05:19:00 +0000 (05:19 +0000)]
gst-libs/gst/video/video.*: Add additional RGBA and RGB-24 video formats.

Original commit message from CVS:
* gst-libs/gst/video/video.c:
* gst-libs/gst/video/video.h:
Add additional RGBA and RGB-24 video formats.

16 years agotests/check/: Don't use GST_PLUGIN_DEFINE_STATIC, it's not portable and will be depre...
Tim-Philipp Müller [Fri, 21 Dec 2007 22:46:56 +0000 (22:46 +0000)]
tests/check/: Don't use GST_PLUGIN_DEFINE_STATIC, it's not portable and will be deprecated in the future (see #498924).

Original commit message from CVS:
* tests/check/elements/playbin.c: (test_sink_usage_video_only_stream),
(test_suburi_error_unknowntype), (test_suburi_error_invalidfile),
(test_suburi_error_wrongproto), (test_missing_primary_decoder):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST), (GST_START_TEST),
(cddabasesrc_suite):
Don't use GST_PLUGIN_DEFINE_STATIC, it's not portable and will be
deprecated in the future (see #498924).

16 years agogst/playback/gststreamselector.c: Don't leak event.
Tim-Philipp Müller [Fri, 21 Dec 2007 22:26:47 +0000 (22:26 +0000)]
gst/playback/gststreamselector.c: Don't leak event.

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_selector_pad_event):
Don't leak event.

16 years agogst-libs/gst/riff/riff-read.c: Use GST_ROUND_UP_2 macro
Thijs Vermeir [Thu, 20 Dec 2007 19:43:25 +0000 (19:43 +0000)]
gst-libs/gst/riff/riff-read.c: Use GST_ROUND_UP_2 macro

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c:
Use GST_ROUND_UP_2 macro

16 years agogst/playback/.cvsignore: Ignore more.
Tim-Philipp Müller [Thu, 20 Dec 2007 17:13:37 +0000 (17:13 +0000)]
gst/playback/.cvsignore: Ignore more.

Original commit message from CVS:
* gst/playback/.cvsignore:
Ignore more.

16 years agoMake switching off of subtitles work. To avoid all kind of problems with unlinking...
Tim-Philipp Müller [Thu, 20 Dec 2007 10:41:29 +0000 (10:41 +0000)]
Make switching off of subtitles work. To avoid all kind of problems with unlinking of the subtitle input, we just kee...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init):
* gst/playback/gstplaybasebin.c: (set_subtitles_visible),
(set_active_source):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(setup_sinks), (playbin_set_subtitles_visible):
Make switching off of subtitles work. To avoid all kind of
problems with unlinking of the subtitle input, we just keep
the subtitle inputs linked as they are and tell textoverlay
not to render them. Fixes #373011.
Other subtitle switching issues (esp. when there are both
external and in-stream subtitles) remain. They'll be solved
in playbin2.

16 years agogst/playback/gststreamselector.c: Init the pad segment too.
Wim Taymans [Tue, 18 Dec 2007 16:21:35 +0000 (16:21 +0000)]
gst/playback/gststreamselector.c: Init the pad segment too.

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_selector_pad_init):
Init the pad segment too.

16 years agogst-libs/gst/audio/gstaudiosink.c: Improve debug output.
Wim Taymans [Tue, 18 Dec 2007 15:56:51 +0000 (15:56 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Improve debug output.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func),
(gst_audioringbuffer_open_device),
(gst_audioringbuffer_close_device), (gst_audioringbuffer_acquire),
(gst_audioringbuffer_release), (gst_audioringbuffer_start),
(gst_audioringbuffer_pause), (gst_audioringbuffer_stop),
(gst_audio_sink_create_ringbuffer):
Improve debug output.
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_start),
(gst_ring_buffer_pause), (gst_ring_buffer_delay):
Prevent some functions from doing things and failing when the
ringbuffer is not yet acquired.

16 years agogst-libs/gst/interfaces/interfaces.h: Also remove interfaces.h from CVS as it is...
Sebastian Dröge [Tue, 18 Dec 2007 15:32:49 +0000 (15:32 +0000)]
gst-libs/gst/interfaces/interfaces.h: Also remove interfaces.h from CVS as it is not needed anymore.

Original commit message from CVS:
* gst-libs/gst/interfaces/interfaces.h:
Also remove interfaces.h from CVS as it is not needed anymore.

16 years agogst-libs/gst/interfaces/Makefile.am: interfaces.h is not used anymore so remove it...
Sebastian Dröge [Tue, 18 Dec 2007 15:20:12 +0000 (15:20 +0000)]
gst-libs/gst/interfaces/Makefile.am: interfaces.h is not used anymore so remove it from the build process.

Original commit message from CVS:
* gst-libs/gst/interfaces/Makefile.am:
interfaces.h is not used anymore so remove it from the build
process.

16 years agogst/videotestsrc/gstvideotestsrc.*: Add a "blink" pattern. Turn on the pain. Apolog...
David Schleef [Tue, 18 Dec 2007 01:01:23 +0000 (01:01 +0000)]
gst/videotestsrc/gstvideotestsrc.*: Add a "blink" pattern.  Turn on the pain.  Apologies.  It's useful for testing ve...

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
Add a "blink" pattern.  Turn on the pain.  Apologies.  It's useful
for testing vertical refresh synchronization.

16 years agoAdd new GstVideFormat enum and write a bunch of helper functions based around it.
David Schleef [Tue, 18 Dec 2007 00:13:26 +0000 (00:13 +0000)]
Add new GstVideFormat enum and write a bunch of helper functions based around it.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/video/video.c:
* gst-libs/gst/video/video.h:
Add new GstVideFormat enum and write a bunch of helper functions
based around it.

16 years agoMakefile.am: Use new common/win32.mak.
Tim-Philipp Müller [Mon, 17 Dec 2007 23:41:14 +0000 (23:41 +0000)]
Makefile.am: Use new common/win32.mak.

Original commit message from CVS:
* Makefile.am:
Use new common/win32.mak.

16 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Add debug info.
Wim Taymans [Mon, 17 Dec 2007 16:44:51 +0000 (16:44 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Add debug info.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create), (gst_base_audio_src_change_state):
Add debug info.
When going from PLAYING to PAUSED, pause the ringbuffer before calling
the parent state change function, just like the audiosink, because the
parent waits for the element to finish its processing before completing
the state change. This makes going to PAUSED a lot snappier.
When going from READY to PAUSED, don't allow the ringbuffer to start
yet.

16 years agogst-libs/gst/riff/riff-media.c: Yet another fix for broken software that produce...
Edward Hervey [Mon, 17 Dec 2007 00:01:00 +0000 (00:01 +0000)]
gst-libs/gst/riff/riff-media.c: Yet another fix for broken software that produce files with an empty blockalign field...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Yet another fix for broken software that produce files with an empty
blockalign field. Instead of completely failing, make a second attempt
at guessing the width/depth by looking at strf->size.

16 years agogst-libs/gst/: Turn a few g_assert_not_reached() into g_return_val_if_reached() to...
Tim-Philipp Müller [Sun, 16 Dec 2007 23:52:58 +0000 (23:52 +0000)]
gst-libs/gst/: Turn a few g_assert_not_reached() into g_return_val_if_reached() to avoid compiler warnings (#503930).

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_do_seek),
(gst_cdda_base_src_handle_track_seek), (gst_cdda_base_src_create):
* gst-libs/gst/pbutils/install-plugins.c:
(gst_install_plugins_spawn_child), (gst_install_plugins_supported):
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_encoder_installer_detail_new):
* gst-libs/gst/rtsp/gstrtspconnection.c: (gst_rtsp_connection_send):
* gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_unset):
Turn a few g_assert_not_reached() into g_return_val_if_reached() to
avoid compiler warnings (#503930).

16 years agogst-libs/gst/riff/riff-media.c: Be apologetic of software that use the 'jpeg' instead...
Edward Hervey [Sun, 16 Dec 2007 23:46:16 +0000 (23:46 +0000)]
gst-libs/gst/riff/riff-media.c: Be apologetic of software that use the 'jpeg' instead of 'JPEG' FOURCC for jpeg video...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Be apologetic of software that use the 'jpeg' instead of 'JPEG' FOURCC
for jpeg video streams.
Add the 'avc1'/'AVC1' fourcc mapping for h264, same software-comment as
for the above modification.

16 years agogst-libs/gst/interfaces/xoverlay.c: More guards (we don't want klass to end up being...
Tim-Philipp Müller [Sat, 15 Dec 2007 17:27:48 +0000 (17:27 +0000)]
gst-libs/gst/interfaces/xoverlay.c: More guards (we don't want klass to end up being NULL).

Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c: (gst_x_overlay_expose),
(gst_x_overlay_handle_events):
More guards (we don't want klass to end up being NULL).

16 years agoUse new gst_base_transform_set_gap_aware() function as volume correctly handles GST_B...
Sebastian Dröge [Sat, 15 Dec 2007 03:40:34 +0000 (03:40 +0000)]
Use new gst_base_transform_set_gap_aware() function as volume correctly handles GST_BUFFER_FLAG_GAP. Require core 0.1...

Original commit message from CVS:
* configure.ac:
* gst/volume/gstvolume.c: (gst_volume_init):
Use new gst_base_transform_set_gap_aware() function as volume
correctly handles GST_BUFFER_FLAG_GAP. Require core 0.10.15.1
for this.

16 years agotests/examples/seek/seek.c: Don't go to READY on EOS as this avoids testing of seekin...
Wim Taymans [Fri, 14 Dec 2007 19:06:24 +0000 (19:06 +0000)]
tests/examples/seek/seek.c: Don't go to READY on EOS as this avoids testing of seeking and restarting after EOS, use ...

Original commit message from CVS:
* tests/examples/seek/seek.c: (msg_segment_done), (main):
Don't go to READY on EOS as this avoids testing of seeking and
restarting after EOS, use the stop button when you want to READY.
Don't try to do a flushing seek in segment-done, it does not make
sense to use this for gapless playback and is not needed.

16 years agogst/playback/gstqueue2.c: Use separate timers for input and output rates.
Wim Taymans [Fri, 14 Dec 2007 18:46:12 +0000 (18:46 +0000)]
gst/playback/gstqueue2.c: Use separate timers for input and output rates.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_init), (gst_queue_finalize),
(reset_rate_timer), (update_in_rates), (update_out_rates),
(gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
(gst_queue_chain), (gst_queue_loop):
Use separate timers for input and output rates.
Pause measuring the output rate when we block for more data.
See #503262.

16 years agoupdate spec file and add two missing files for disting
Christian Schaller [Fri, 14 Dec 2007 16:23:06 +0000 (16:23 +0000)]
update spec file and add two missing files for disting

Original commit message from CVS:
update spec file and add two missing files for disting

16 years agogst/playback/gstqueue2.c: Pause the timer to measure the input rate when we block...
Wim Taymans [Fri, 14 Dec 2007 09:24:55 +0000 (09:24 +0000)]
gst/playback/gstqueue2.c: Pause the timer to measure the input rate when we block because the queue is filled. See #5...

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_chain):
Pause the timer to measure the input rate when we block because the
queue is filled. See #503262.

16 years agogst-libs/gst/rtsp/gstrtspconnection.c: Close control sockets. Fixes #503440.
Peter Kjellerstedt [Thu, 13 Dec 2007 15:54:00 +0000 (15:54 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Close control sockets. Fixes #503440.

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_free):
Close control sockets. Fixes #503440.

16 years agogst/playback/gstdecodebin2.c: Expose the right pad in the right place with the right...
Wim Taymans [Thu, 13 Dec 2007 12:31:38 +0000 (12:31 +0000)]
gst/playback/gstdecodebin2.c: Expose the right pad in the right place with the right element.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (analyze_new_pad), (connect_pad):
Expose the right pad in the right place with the right element.

16 years agogst-libs/gst/pbutils/descriptions.c: Add description for 'private' dts caps (who...
Tim-Philipp Müller [Thu, 13 Dec 2007 11:40:10 +0000 (11:40 +0000)]
gst-libs/gst/pbutils/descriptions.c: Add description for 'private' dts caps (who come up with that name?).

Original commit message from CVS:
* gst-libs/gst/pbutils/descriptions.c: (formats):
Add description for 'private' dts caps (who come up with that name?).

16 years agoMakefile.am: Add check-exports target and run it with 'make check'.
Tim-Philipp Müller [Thu, 13 Dec 2007 10:10:35 +0000 (10:10 +0000)]
Makefile.am: Add check-exports target and run it with 'make check'.

Original commit message from CVS:
* Makefile.am:
Add check-exports target and run it with 'make check'.
* configure.ac:
Be stricter about what we export in our libraries: change regexp so that
we only export _gst_foo(), but not __gst_foo().
* gst-libs/gst/cdda/base64.h: (rfc822_binary):
* gst-libs/gst/cdda/sha1.h: (sha_init), (sha_update), (sha_final):
Change internal functions to __gst_foo so they dont' get exported.
* win32/common/libgstaudio.def:
Add missing symbols.

16 years agoChangeLog: remove conflict markers
David Schleef [Tue, 11 Dec 2007 21:18:57 +0000 (21:18 +0000)]
ChangeLog: remove conflict markers

Original commit message from CVS:
ChangeLog: remove conflict markers

16 years agoext/gnomevfs/: Use gst_tag_freeform_string_to_utf8() here, which also takes into...
Tim-Philipp Müller [Tue, 11 Dec 2007 17:14:13 +0000 (17:14 +0000)]
ext/gnomevfs/: Use gst_tag_freeform_string_to_utf8() here, which also takes into account any character sets specified...

Original commit message from CVS:
* ext/gnomevfs/Makefile.am:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_unicodify):
Use gst_tag_freeform_string_to_utf8() here, which also takes
into account any character sets specified by the user via
environment variables.

16 years agogst/audioconvert/Makefile.am: Also link to libm.
Wim Taymans [Mon, 10 Dec 2007 15:21:41 +0000 (15:21 +0000)]
gst/audioconvert/Makefile.am: Also link to libm.

Original commit message from CVS:
* gst/audioconvert/Makefile.am:
Also link to libm.

16 years agogst-libs/gst/riff/riff-media.c: No need for floating point operations here. avoids...
Wim Taymans [Mon, 10 Dec 2007 15:13:55 +0000 (15:13 +0000)]
gst-libs/gst/riff/riff-media.c: No need for floating point operations here. avoids having to link against the math li...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
No need for floating point operations here. avoids having to link
against the math library too.

16 years agoAdd one or two missing formats. Generate ADPCM description dynamically depending...
Tim-Philipp Müller [Mon, 10 Dec 2007 11:16:25 +0000 (11:16 +0000)]
Add one or two missing formats.  Generate ADPCM description dynamically depending on layout/format.

Original commit message from CVS:
* gst-libs/gst/pbutils/descriptions.c: (formats),
(format_info_get_desc):
* tests/check/libs/pbutils.c: (GST_START_TEST), (caps_strings),
(GST_START_TEST):
Add one or two missing formats.  Generate ADPCM description
dynamically depending on layout/format.

16 years agoconfigure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
Sebastian Dröge [Sun, 9 Dec 2007 04:28:38 +0000 (04:28 +0000)]
configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

Original commit message from CVS:
* configure.ac:
Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

16 years agogst/subparse/gstsubparse.c: Some .srt files start with chunk number 0 and not chunk...
Robin Stocker [Sat, 8 Dec 2007 18:38:39 +0000 (18:38 +0000)]
gst/subparse/gstsubparse.c: Some .srt files start with chunk number 0 and not chunk number 1, recognise and accept th...

Original commit message from CVS:
Patch by: Robin Stocker <robin dot stocker at gmx dot ch>
* gst/subparse/gstsubparse.c: (gst_sub_parse_data_format_autodetect):
Some .srt files start with chunk number 0 and not chunk number 1,
recognise and accept those as well (fixes #502497).
* tests/check/elements/subparse.c: (srt_input), (srt_input0),
(test_src):
Add unit test for the above.

16 years agogst/playback/gstplay-enum.*: Add missing files.
Wim Taymans [Thu, 6 Dec 2007 12:08:21 +0000 (12:08 +0000)]
gst/playback/gstplay-enum.*: Add missing files.

Original commit message from CVS:
* gst/playback/gstplay-enum.c:
(register_gst_autoplug_select_result),
(gst_autoplug_select_result_get_type):
* gst/playback/gstplay-enum.h:
Add missing files.

16 years agogst/playback/Makefile.am: Group decodebin2 and uridecodebin into the same plugin...
Wim Taymans [Wed, 5 Dec 2007 17:11:48 +0000 (17:11 +0000)]
gst/playback/Makefile.am: Group decodebin2 and uridecodebin into the same plugin so that they can share the GEnumType.

Original commit message from CVS:
* gst/playback/Makefile.am:
Group decodebin2 and uridecodebin into the same plugin so that they
can share the GEnumType.
* gst/playback/gstdecodebin2.c: (_gst_array_accumulator),
(_gst_select_accumulator), (gst_decode_bin_class_init),
(gst_decode_bin_init), (gst_decode_bin_autoplug_sort),
(gst_decode_bin_autoplug_select), (gst_decode_bin_autoplug_add),
(analyze_new_pad), (connect_pad), (gst_decode_bin_plugin_init):
Add signal to sort factories instead of the more awkward autoplug-select
signal.
Modify autoplug_select so that we can try, skip or expose the
autopluggin of an element on a pad.
* gst/playback/gstfactorylists.c: (compare_ranks),
(decoders_filter), (sinks_filter), (gst_factory_list_is_type),
(element_filter), (gst_factory_list_get_elements),
(gst_factory_list_debug), (gst_factory_list_filter):
* gst/playback/gstfactorylists.h:
Simplify the API, allow getting elements based on mask.
* gst/playback/gstplay-marshal.list:
Add some more marshallers.
* gst/playback/gstplaybin2.c: (init_group), (gst_play_bin_init),
(gst_play_bin_finalize), (pad_removed_cb), (autoplug_factories_cb),
(autoplug_select_cb), (activate_group):
Add support for managing non-raw sinks by providing a custom element and
sink list to decodebin2.
Try to plug non-raw sinks when decodebin2 using autoplug-select of
decodebin2.
* gst/playback/gstplaysink.c: (gen_video_chain), (gen_audio_chain),
(gst_play_sink_set_mode), (gst_play_sink_request_pad):
* gst/playback/gstplaysink.h:
Add support for raw and non-raw sinks.
Add support to force sinks selected by playbin2.
Don't plug raw converters for non-raw sinks.
* gst/playback/gsturidecodebin.c: (_gst_array_accumulator),
(_gst_select_accumulator), (gst_uri_decode_bin_class_init),
(proxy_autoplug_select_signal), (gst_uri_decode_bin_plugin_init),
(plugin_init):
Use right accumulators.
Proxy new signal.

16 years agogst-libs/gst/rtp/gstbasertppayload.c: Use runnning time as the base time instead...
Wim Taymans [Mon, 3 Dec 2007 13:47:00 +0000 (13:47 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Use runnning time as the base time instead of the timestamp.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
Use runnning time as the base time instead of the timestamp.
Spotted by Saur on IRC.

16 years agogst-libs/gst/riff/riff-media.c: Add 'WVC1' codec mapping for Windows Media VC-1 video...
Edward Hervey [Mon, 3 Dec 2007 11:32:30 +0000 (11:32 +0000)]
gst-libs/gst/riff/riff-media.c: Add 'WVC1' codec mapping for Windows Media VC-1 video codec.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add 'WVC1' codec mapping for Windows Media VC-1 video codec.

16 years agoext/ogg/gstoggdemux.c: If we find a new serial number but it does not contain a BOS...
Wim Taymans [Mon, 3 Dec 2007 10:58:14 +0000 (10:58 +0000)]
ext/ogg/gstoggdemux.c: If we find a new serial number but it does not contain a BOS page, make sure we initialize the...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_bisect_forward_serialno),
(gst_ogg_demux_read_chain):
If we find a new serial number but it does not contain a BOS page, make
sure we initialize the chain to NULL because else we will try to scan it
and crash. Fixes #500763

16 years agogst/playback/: Refactor some common code to filter factories and check caps compat.
Wim Taymans [Fri, 30 Nov 2007 17:47:15 +0000 (17:47 +0000)]
gst/playback/: Refactor some common code to filter factories and check caps compat.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstfactorylists.c: (compare_ranks), (print_feature),
(get_feature_array), (decoders_filter), (sinks_filter),
(gst_factory_list_get_decoders), (gst_factory_list_get_sinks),
(gst_factory_list_filter):
* gst/playback/gstfactorylists.h:
Refactor some common code to filter factories and check caps compat.
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
(gst_decode_bin_init), (gst_decode_bin_dispose),
(gst_decode_bin_autoplug_continue),
(gst_decode_bin_autoplug_factories),
(gst_decode_bin_autoplug_select), (analyze_new_pad),
(find_compatibles):
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_init), (gst_play_bin_finalize),
(autoplug_factories_cb), (activate_group):
* gst/playback/gstqueue2.c:
* gst/playback/gsturidecodebin.c: (proxy_unknown_type_signal),
(proxy_autoplug_continue_signal),
(proxy_autoplug_factories_signal), (proxy_autoplug_select_signal),
(proxy_drained_signal):
Add some more debug info and use factor filtering code.

16 years agoconfigure.ac: Add QuickTime Wrapper plug-in.
Julien Moutte [Mon, 26 Nov 2007 13:19:46 +0000 (13:19 +0000)]
configure.ac: Add QuickTime Wrapper plug-in.

Original commit message from CVS:
2007-11-26  Julien Moutte  <julien@fluendo.com>

* configure.ac: Add QuickTime Wrapper plug-in.
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_push_drain), (gst_speex_resample_process): Fix
build on Mac OS X Leopard. Incorrect printf format arguments.
* sys/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/qtwrapper/audiodecoders.c:
(qtwrapper_audio_decoder_base_init),
(qtwrapper_audio_decoder_class_init),
(qtwrapper_audio_decoder_init),
(clear_AudioStreamBasicDescription), (fill_indesc_mp3),
(fill_indesc_aac), (fill_indesc_samr), (fill_indesc_generic),
(make_samr_magic_cookie), (open_decoder),
(qtwrapper_audio_decoder_sink_setcaps), (process_buffer_cb),
(qtwrapper_audio_decoder_chain),
(qtwrapper_audio_decoder_sink_event),
(qtwrapper_audio_decoders_register):
* sys/qtwrapper/codecmapping.c: (audio_caps_from_string),
(fourcc_to_caps):
* sys/qtwrapper/codecmapping.h:
* sys/qtwrapper/imagedescription.c: (image_description_for_avc1),
(image_description_for_mp4v), (image_description_from_stsd_buffer),
(image_description_from_codec_data):
* sys/qtwrapper/imagedescription.h:
* sys/qtwrapper/qtutils.c: (get_name_info_from_component),
(get_output_info_from_component), (dump_avcc_atom),
(dump_image_description), (dump_codec_decompress_params),
(addSInt32ToDictionary), (dump_cvpixel_buffer),
(DestroyAudioBufferList), (AllocateAudioBufferList):
* sys/qtwrapper/qtutils.h:
* sys/qtwrapper/qtwrapper.c: (plugin_init):
* sys/qtwrapper/qtwrapper.h:
* sys/qtwrapper/videodecoders.c:
(qtwrapper_video_decoder_base_init),
(qtwrapper_video_decoder_class_init),
(qtwrapper_video_decoder_init), (qtwrapper_video_decoder_finalize),
(fill_image_description), (new_image_description), (close_decoder),
(open_decoder), (qtwrapper_video_decoder_sink_setcaps),
(decompressCb), (qtwrapper_video_decoder_chain),
(qtwrapper_video_decoder_sink_event),
(qtwrapper_video_decoders_register): Initial import of QuickTime
wrapper jointly developped by Songbird authors (Pioneers of the
Inevitable) and Fluendo.

16 years agogst/: Add GAP-flag support.
Stefan Kost [Mon, 26 Nov 2007 12:25:55 +0000 (12:25 +0000)]
gst/: Add GAP-flag support.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
* gst/volume/gstvolume.c:
* gst/volume/gstvolume.h:
Add GAP-flag support.

16 years agogst/speexresample/: Update speex resampler to latest SVN. We're now down to only...
Sebastian Dröge [Mon, 26 Nov 2007 08:43:25 +0000 (08:43 +0000)]
gst/speexresample/: Update speex resampler to latest SVN. We're now down to only the changes noted in README again.

Original commit message from CVS:
* gst/speexresample/README:
* gst/speexresample/arch.h:
* gst/speexresample/resample.c: (resampler_basic_direct_single),
(resampler_basic_direct_double),
(resampler_basic_interpolate_single),
(resampler_basic_interpolate_double),
(speex_resampler_process_native), (speex_resampler_process_float),
(speex_resampler_process_int),
(speex_resampler_process_interleaved_float),
(speex_resampler_process_interleaved_int),
(speex_resampler_get_input_latency),
(speex_resampler_get_output_latency):
* gst/speexresample/speex_resampler.h:
Update speex resampler to latest SVN. We're now down to only the
changes noted in README again.
* gst/speexresample/speex_resampler_wrapper.h:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_push_drain), (gst_speex_resample_query):
Adjust to API changes.

16 years agotests/examples/seek/seek.c: Increase the range of the rate selector as I would like...
Julien Moutte [Sat, 24 Nov 2007 15:02:01 +0000 (15:02 +0000)]
tests/examples/seek/seek.c: Increase the range of the rate selector as I would like to test QOS behavior at higher fo...

Original commit message from CVS:
2007-11-24  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (main): Increase the range of the
rate selector as I would like to test QOS behavior at higher
forward and reverse playback speed like say 64x.

16 years agogst/speexresample/gstspeexresample.c: Only post the latency message if we have a...
Sebastian Dröge [Fri, 23 Nov 2007 10:21:31 +0000 (10:21 +0000)]
gst/speexresample/gstspeexresample.c: Only post the latency message if we have a resampler state already.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_update_state):
Only post the latency message if we have a resampler state already.

16 years agogst/audioresample/gstaudioresample.c: Implement latency query.
Sebastian Dröge [Fri, 23 Nov 2007 10:21:11 +0000 (10:21 +0000)]
gst/audioresample/gstaudioresample.c: Implement latency query.

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c: (gst_audioresample_init),
(audioresample_query), (audioresample_query_type),
(gst_audioresample_set_property):
Implement latency query.

16 years agogst/speexresample/gstspeexresample.c: Also post GST_MESSAGE_LATENCY if the latency...
Sebastian Dröge [Fri, 23 Nov 2007 10:01:33 +0000 (10:01 +0000)]
gst/speexresample/gstspeexresample.c: Also post GST_MESSAGE_LATENCY if the latency changes.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_update_state):
Also post GST_MESSAGE_LATENCY if the latency changes.

16 years agogst/speexresample/: Add functions to push the remaining samples and to get the latenc...
Sebastian Dröge [Fri, 23 Nov 2007 08:48:50 +0000 (08:48 +0000)]
gst/speexresample/: Add functions to push the remaining samples and to get the latency of the resampler. These will g...

Original commit message from CVS:
* gst/speexresample/resample.c: (speex_resampler_get_latency),
(speex_resampler_drain_float), (speex_resampler_drain_int),
(speex_resampler_drain_interleaved_float),
(speex_resampler_drain_interleaved_int):
* gst/speexresample/speex_resampler.h:
* gst/speexresample/speex_resampler_wrapper.h:
Add functions to push the remaining samples and to get the latency
of the resampler. These will get added to Speex SVN in this or a
slightly changed form at some point too and should get merged then
again.
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_init),
(gst_speex_resample_init_state),
(gst_speex_resample_transform_size),
(gst_speex_resample_push_drain), (gst_speex_resample_event),
(gst_speex_fix_output_buffer), (gst_speex_resample_process),
(gst_speex_resample_query), (gst_speex_resample_query_type):
Drop the prepending zeroes and output the remaining samples on EOS.
Also properly implement the latency query for this. speexresample
should be completely ready for production use now.

16 years agogst-libs/gst/audio/gstbaseaudiosink.c: Our EOS time contains the base_time, _wait_eos...
Wim Taymans [Wed, 21 Nov 2007 18:02:21 +0000 (18:02 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Our EOS time contains the base_time, _wait_eos() expects a running_time so we ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain):
Our EOS time contains the base_time, _wait_eos() expects a running_time
so we have to subtract the base_time again before calling the function.
This fixes an EOS regression where the base_time was added twice and EOS
took longer and longer in certain situations.
Fixes #498767.

16 years agoExpose methods for some object properties so that subclasses can more easily configur...
Wim Taymans [Wed, 21 Nov 2007 13:04:17 +0000 (13:04 +0000)]
Expose methods for some object properties so that subclasses can more easily configure them.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/audio/gstbaseaudiosink.c: (slave_method_get_type),
(gst_base_audio_sink_set_provide_clock),
(gst_base_audio_sink_get_provide_clock),
(gst_base_audio_sink_set_slave_method),
(gst_base_audio_sink_get_slave_method),
(gst_base_audio_sink_set_property),
(gst_base_audio_sink_get_property), (gst_base_audio_sink_drain),
(gst_base_audio_sink_none_slaving),
(gst_base_audio_sink_handle_slaving):
* gst-libs/gst/audio/gstbaseaudiosink.h:
Expose methods for some object properties so that subclasses can more
easily configure them.
Added slave method none, that completely disables slaving to the
internal clock.
API: gst_base_audio_sink_set_provide_clock()
API: gst_base_audio_sink_get_provide_clock()
API: gst_base_audio_sink_set_slave_method()
API: gst_base_audio_sink_get_slave_method()
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_set_provide_clock),
(gst_base_audio_src_get_provide_clock),
(gst_base_audio_src_set_property),
(gst_base_audio_src_get_property), (gst_base_audio_src_create):
* gst-libs/gst/audio/gstbaseaudiosrc.h:
Expose methods for some object properties so that subclasses can more
easily configure them.
API: gst_base_audio_src_set_provide_clock()
API: gst_base_audio_src_get_provide_clock()

16 years agogst/speexresample/README: Add README explaining where the resampling code was taken...
Sebastian Dröge [Wed, 21 Nov 2007 10:18:56 +0000 (10:18 +0000)]
gst/speexresample/README: Add README explaining where the resampling code was taken from and which changes were done.

Original commit message from CVS:
* gst/speexresample/README:
Add README explaining where the resampling code was taken from
and which changes were done.
* gst/speexresample/resample.c: (speex_alloc), (speex_realloc),
(speex_free):
Use g_malloc() and friends instead of malloc() to achieve higher
portability and define the functions inline.
* gst/speexresample/speex_resampler.h:
Add back some useless preprocessor stuff to keep the diff between
our version and the one from the Speex SVN repository lower.

16 years agogst/speexresample/gstspeexresample.c: Some small cleanup and addition of a TODO item.
Sebastian Dröge [Tue, 20 Nov 2007 20:23:25 +0000 (20:23 +0000)]
gst/speexresample/gstspeexresample.c: Some small cleanup and addition of a TODO item.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_fix_output_buffer), (gst_speex_resample_transform):
Some small cleanup and addition of a TODO item.

16 years agogst/speexresample/Makefile.am: Add missing file.
Sebastian Dröge [Tue, 20 Nov 2007 12:56:00 +0000 (12:56 +0000)]
gst/speexresample/Makefile.am: Add missing file.

Original commit message from CVS:
* gst/speexresample/Makefile.am:
Add missing file.