platform/upstream/gst-plugins-good.git
15 years agoext/raw1394/: Pretend to care about the result of write() which works around compiler...
Tim-Philipp Müller [Thu, 11 Sep 2008 11:26:06 +0000 (11:26 +0000)]
ext/raw1394/: Pretend to care about the result of write() which works around compiler warnings.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (SEND_COMMAND):
* ext/raw1394/gsthdv1394src.c: (SEND_COMMAND):
Pretend to care about the result of write() which works around
compiler warnings.

15 years agoext/flac/gstflacenc.c: Make sure the desired default values are actually set, not...
Tim-Philipp Müller [Thu, 4 Sep 2008 09:25:59 +0000 (09:25 +0000)]
ext/flac/gstflacenc.c: Make sure the desired default values are actually set, not only registered as defaults (actual...

Original commit message from CVS:
* ext/flac/gstflacenc.c: (gst_flac_enc_class_init):
Make sure the desired default values are actually set, not only
registered as defaults (actual problem is that the stereo-specific
values are only updated if channels==2, which is not the case yet
when the object is created, so the default values for the
mid-side-stereo and loose-mid-side-stereo settings are never
set in _update_quality()). Makes flacenc create smaller files by
default (for stereo input), and fixes #550791.

15 years agogst/qtdemux/: Add support for video/mj2 mime-type and its additional atoms/boxes.
Mark Nauwelaerts [Wed, 3 Sep 2008 12:39:35 +0000 (12:39 +0000)]
gst/qtdemux/: Add support for video/mj2 mime-type and its additional atoms/boxes.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_state_header), (qtdemux_parse_node),
(qtdemux_parse_trak), (qtdemux_video_caps):
* gst/qtdemux/qtdemux.h:
* gst/qtdemux/qtdemux_fourcc.h:
* gst/qtdemux/qtdemux_types.c:
Add support for video/mj2 mime-type and its additional atoms/boxes.
Fixes #550646.

15 years agogst/debug/gsttaginject.c: Add warning when tags parameter is unparsable and give...
Stefan Kost [Wed, 3 Sep 2008 11:10:25 +0000 (11:10 +0000)]
gst/debug/gsttaginject.c: Add warning when tags parameter is unparsable and give example for quoting in the docs.

Original commit message from CVS:
* gst/debug/gsttaginject.c:
Add warning when tags parameter is unparsable and give example for
quoting in the docs.

15 years agogst/qtdemux/qtdemux.c: Add mapping for IMA Loki SDL MJPEG ADPCM codec.
Wim Taymans [Tue, 2 Sep 2008 15:27:49 +0000 (15:27 +0000)]
gst/qtdemux/qtdemux.c: Add mapping for IMA Loki SDL MJPEG ADPCM codec.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Add mapping for IMA Loki SDL MJPEG ADPCM codec.
Add some alternative byteswapped mappings that seem to pop up sometimes.
Fixes #550288.

15 years agopo/: Add 'ca' to LINGUAS; add some more files with translations and some files which...
Tim-Philipp Müller [Tue, 2 Sep 2008 09:40:38 +0000 (09:40 +0000)]
po/: Add 'ca' to LINGUAS; add some more files with translations and some files which should be ignored by translation...

Original commit message from CVS:
* po/LINGUAS:
* po/POTFILES.in:
* po/POTFILES.skip:
Add 'ca' to LINGUAS; add some more files with translations and some
files which should be ignored by translation tools.

15 years agoext/speex/: Use integer encoding and decoding functions instead of converting the...
Sebastian Dröge [Tue, 2 Sep 2008 08:51:04 +0000 (08:51 +0000)]
ext/speex/: Use integer encoding and decoding functions instead of converting the integer input to float in the eleme...

Original commit message from CVS:
* ext/speex/gstspeexdec.c: (speex_dec_chain_parse_data):
* ext/speex/gstspeexdec.h:
* ext/speex/gstspeexenc.c: (gst_speex_enc_encode):
* ext/speex/gstspeexenc.h:
Use integer encoding and decoding functions instead of converting
the integer input to float in the element. The libspeex integer
functions are doing this for us already or, if libspeex was compiled
in integer mode, they're doing everything using integer arithmetics.
Also saves some copying around.

15 years agoconfigure.ac: Fix --disable-external
Tim-Philipp Müller [Mon, 1 Sep 2008 13:29:29 +0000 (13:29 +0000)]
configure.ac: Fix --disable-external

Original commit message from CVS:
* configure.ac:
Fix --disable-external

15 years agoext/wavpack/gstwavpackenc.*: Handle non-zero start timestamps and stream discontinuit...
Sebastian Dröge [Sun, 31 Aug 2008 17:09:18 +0000 (17:09 +0000)]
ext/wavpack/gstwavpackenc.*: Handle non-zero start timestamps and stream discontinuities correctly. This only has an ...

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_reset),
(gst_wavpack_enc_push_block), (gst_wavpack_enc_chain):
* ext/wavpack/gstwavpackenc.h:
Handle non-zero start timestamps and stream discontinuities
correctly. This only has an effect if we're muxing into
a container format as the raw WavPack stream must contain
continous sample numbers.

15 years agoext/speex/gstspeexenc.c: Correct the timestamp and granulepos calculation by one...
Sebastian Dröge [Sun, 31 Aug 2008 15:02:09 +0000 (15:02 +0000)]
ext/speex/gstspeexenc.c: Correct the timestamp and granulepos calculation by one Speex frame.

Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speex_enc_encode):
Correct the timestamp and granulepos calculation by one Speex
frame.

15 years agoext/speex/gstspeexdec.c: Correctly take the granulepos from upstream if possible...
Sebastian Dröge [Sun, 31 Aug 2008 14:39:57 +0000 (14:39 +0000)]
ext/speex/gstspeexdec.c: Correctly take the granulepos from upstream if possible and correctly handle the granulepos ...

Original commit message from CVS:
* ext/speex/gstspeexdec.c: (speex_dec_chain_parse_data):
Correctly take the granulepos from upstream if possible and
correctly handle the granulepos in various calculations: the
granulepos is the sample number of the _last_ sample in a frame, not
the first.
* ext/speex/gstspeexenc.c: (gst_speex_enc_sinkevent),
(gst_speex_enc_encode), (gst_speex_enc_chain),
(gst_speex_enc_change_state):
* ext/speex/gstspeexenc.h:
Handle non-zero start timestamps in the encoder and detect/handle
stream discontinuities. Fixes bug #547075.

15 years agoext/annodex/gstcmmlparser.c: Fix compiler warnings caused by passing a string as...
Craig Keogh [Sun, 31 Aug 2008 08:32:45 +0000 (08:32 +0000)]
ext/annodex/gstcmmlparser.c: Fix compiler warnings caused by passing a string as format string instead of "%s" and th...

Original commit message from CVS:
Patch by: Craig Keogh <cskeogh at adam dot com dot au>
* ext/annodex/gstcmmlparser.c: (gst_cmml_parser_parse_chunk):
Fix compiler warnings caused by passing a string as format string
instead of "%s" and then the string. This is only exposed by -Wformat=2
as used by default on Ubuntu. Fixes bug #550015.

15 years agoMake stuff compile with GST_DISABLE_GST_DEBUG.
Tim-Philipp Müller [Sat, 30 Aug 2008 14:15:03 +0000 (14:15 +0000)]
Make stuff compile with GST_DISABLE_GST_DEBUG.

Original commit message from CVS:
* ext/raw1394/gsthdv1394src.c: (gst_hdv1394src_create):
* gst/alpha/gstalpha.c: (gst_alpha_get_unit_size):
* gst/audiofx/audiocheblimit.c: (generate_coefficients):
* gst/avi/gstavidemux.c: (gst_avi_demux_src_convert):
* gst/matroska/ebml-read.c: (gst_ebml_read_element_id),
(gst_ebml_read_element_length):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_check_subtitle_buffer):
Make stuff compile with GST_DISABLE_GST_DEBUG.

15 years agogst/law/: Ref caps before passing to gst_pad_template_new(), since that takes ownership.
Michael Smith [Fri, 29 Aug 2008 00:28:55 +0000 (00:28 +0000)]
gst/law/: Ref caps before passing to gst_pad_template_new(), since that takes ownership.

Original commit message from CVS:
* gst/law/alaw.c:
* gst/law/mulaw.c:
Ref caps before passing to gst_pad_template_new(), since that takes
ownership.

15 years agogst/multipart/: Convert audio/x-adpcm to and from the audio/G726-X in the muxer and...
Mersad Jelacic [Thu, 28 Aug 2008 10:09:16 +0000 (10:09 +0000)]
gst/multipart/: Convert audio/x-adpcm to and from the audio/G726-X in the muxer and demuxer. Fixes #549551.

Original commit message from CVS:
Patch by: Mersad Jelacic <mersad at axis dot com>
* gst/multipart/multipartdemux.c:
* gst/multipart/multipartmux.c: (gst_multipart_mux_get_mime):
Convert audio/x-adpcm to and from the audio/G726-X in the muxer and
demuxer. Fixes #549551.

15 years agosys/osxaudio/: Fix the build on macosx.
Edward Hervey [Wed, 27 Aug 2008 16:12:39 +0000 (16:12 +0000)]
sys/osxaudio/: Fix the build on macosx.

Original commit message from CVS:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_select_device):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_create_ringbuffer),
(gst_osx_audio_src_select_device):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_acquire):
Fix the build on macosx.

15 years agogst/icydemux/gsticydemux.c: Small docs fix: in the example pipeline, we need to pass...
Tim-Philipp Müller [Wed, 27 Aug 2008 15:42:11 +0000 (15:42 +0000)]
gst/icydemux/gsticydemux.c: Small docs fix: in the example pipeline, we need to pass iradio-mode=true to the source, ...

Original commit message from CVS:
* gst/icydemux/gsticydemux.c:
Small docs fix: in the example pipeline, we need to pass
iradio-mode=true to the source, so the server actually sends
an ICY stream.

15 years agosys/osxaudio/gstosxaudio.c: Oops. Revert more completely.
Michael Smith [Wed, 27 Aug 2008 00:08:20 +0000 (00:08 +0000)]
sys/osxaudio/gstosxaudio.c: Oops. Revert more completely.

Original commit message from CVS:
* sys/osxaudio/gstosxaudio.c:
Oops. Revert more completely.

15 years agosys/osxaudio/gstosxaudio.c: Revert accidental element rename from testing.
Michael Smith [Tue, 26 Aug 2008 23:57:05 +0000 (23:57 +0000)]
sys/osxaudio/gstosxaudio.c: Revert accidental element rename from testing.

Original commit message from CVS:
* sys/osxaudio/gstosxaudio.c:
Revert accidental element rename from testing.

15 years agogst-plugins-good.doap: Pull in 0.10.10 doap entry from release branch
Jan Schmidt [Tue, 26 Aug 2008 23:53:40 +0000 (23:53 +0000)]
gst-plugins-good.doap: Pull in 0.10.10 doap entry from release branch

Original commit message from CVS:
* gst-plugins-good.doap:
Pull in 0.10.10 doap entry from release branch

15 years agoconfigure.ac: Update version number to reflect 0.10.10 release from branch.
Jan Schmidt [Tue, 26 Aug 2008 23:05:57 +0000 (23:05 +0000)]
configure.ac: Update version number to reflect 0.10.10 release from branch.

Original commit message from CVS:
* configure.ac:
Update version number to reflect 0.10.10 release from
branch.

15 years agosys/osxaudio/: Rewrite caps setting and ring buffer initialisation.
Michael Smith [Tue, 26 Aug 2008 21:13:08 +0000 (21:13 +0000)]
sys/osxaudio/: Rewrite caps setting and ring buffer initialisation.

Original commit message from CVS:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosink.h:
* sys/osxaudio/gstosxaudiosrc.c:
* sys/osxaudio/gstosxaudiosrc.h:
* sys/osxaudio/gstosxringbuffer.c:
* sys/osxaudio/gstosxringbuffer.h:
Rewrite caps setting and ring buffer initialisation.
Previously we never told CoreAudio what format we were going to send it,
so it only worked due to luck, and not at all on some hardware.
Now we explicitly advertise what formats the hardware supports, and then
configure the selected one correctly.

15 years agosys/v4l2/: Fix memory leaks. Small code cleanups : No need for empty _init(). No...
Stefan Kost [Tue, 26 Aug 2008 12:27:11 +0000 (12:27 +0000)]
sys/v4l2/: Fix memory leaks. Small code cleanups : No need for empty _init(). No need to memset instance structures. ...

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/v4l2_calls.c:
* sys/v4l2/v4l2src_calls.c:
Fix memory leaks. Small code cleanups : No need for empty _init(). No
need to memset instance structures. Some more FIXME's.

15 years agotests/icles/.cvsignore: Ignore more.
Stefan Kost [Tue, 26 Aug 2008 08:11:26 +0000 (08:11 +0000)]
tests/icles/.cvsignore: Ignore more.

Original commit message from CVS:
* tests/icles/.cvsignore:
Ignore more.

15 years agogst/: Ignore files.
Stefan Kost [Tue, 26 Aug 2008 08:00:57 +0000 (08:00 +0000)]
gst/: Ignore files.

Original commit message from CVS:
* gst/goom/.cvsignore:
* gst/goom2k1/.cvsignore:
Ignore files.

15 years agoext/cairo/gsttextoverlay.c: Fix compiler warning.
Stefan Kost [Tue, 26 Aug 2008 07:51:42 +0000 (07:51 +0000)]
ext/cairo/gsttextoverlay.c: Fix compiler warning.

Original commit message from CVS:
* ext/cairo/gsttextoverlay.c:
Fix compiler warning.

15 years agoext/cairo/gsttextoverlay.c: Fix obvious memleak.
David Schleef [Tue, 26 Aug 2008 05:42:15 +0000 (05:42 +0000)]
ext/cairo/gsttextoverlay.c: Fix obvious memleak.

Original commit message from CVS:
* ext/cairo/gsttextoverlay.c: Fix obvious memleak.

15 years agogst/matroska/: Add Real[Audio|Video] support to Matroska containers.
Edward Hervey [Mon, 25 Aug 2008 14:15:43 +0000 (14:15 +0000)]
gst/matroska/: Add Real[Audio|Video] support to Matroska containers.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_send_event),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps):
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps),
(gst_matroska_mux_audio_pad_setcaps), (gst_matroska_mux_finish):
Add Real[Audio|Video] support to Matroska containers.
It works fine for:
* decoding real audio/video streams contained in mkv
* 'transmuxing' real (.rm) files into .mkv files
It will not work though for encoding real[audio/video] streams that
don't contain the 'mdpr_data' extra data on the caps.
The reason why this will not work is because I never intended to
duplicate virtually all the 'mdpr' block creation into mkvmux.
Fixes #536067

15 years agogst/law/: The encoder can't really renegotiate at the time they perform a pad-alloc...
Wim Taymans [Mon, 25 Aug 2008 09:48:06 +0000 (09:48 +0000)]
gst/law/: The encoder can't really renegotiate at the time they perform a pad-alloc so make the srcpads use fixed caps.

Original commit message from CVS:
* gst/law/alaw-encode.c: (gst_alaw_enc_init), (gst_alaw_enc_chain):
* gst/law/mulaw-conversion.c:
* gst/law/mulaw-encode.c: (gst_mulawenc_init),
(gst_mulawenc_chain):
The encoder can't really renegotiate at the time they perform a
pad-alloc so make the srcpads use fixed caps.
Check the buffer size after a pad-alloc because the returned size might
not be right when the downstream element does not know the size of the
new buffer (capsfilter). Fixes #549073.

15 years agosys/v4l2/gstv4l2tuner.c: v4l2src doesn't have a property named "norm" so don't try...
Filippo Argiolas [Sat, 23 Aug 2008 15:43:49 +0000 (15:43 +0000)]
sys/v4l2/gstv4l2tuner.c: v4l2src doesn't have a property named "norm" so don't try to notify about changes to that pr...

Original commit message from CVS:
Patch by: Filippo Argiolas <filippo dot argiolas at gmail dot com>
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_set_norm_and_notify):
v4l2src doesn't have a property named "norm" so don't try to notify
about changes to that property. The "norm" property and related
code are commented out currently. Fixes bug #549090.

15 years agosys/v4l2/gstv4l2object.c: Reprobe devices again instead of taking a cached list as...
Mike Ruprecht [Sat, 23 Aug 2008 15:33:49 +0000 (15:33 +0000)]
sys/v4l2/gstv4l2object.c: Reprobe devices again instead of taking a cached list as new devices could've been plugged ...

Original commit message from CVS:
Patch by: Mike Ruprecht <cmaiku at gmail dot com>
* sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices):
Reprobe devices again instead of taking a cached list as new
devices could've been plugged in. Fixes bug #549062.

15 years agogst/autodetect/Makefile.am: Don't link the autodetect plugin with GConf as it doesn...
Sebastian Dröge [Fri, 22 Aug 2008 16:04:02 +0000 (16:04 +0000)]
gst/autodetect/Makefile.am: Don't link the autodetect plugin with GConf as it doesn't use GConf. Fixes bug #545463.

Original commit message from CVS:
* gst/autodetect/Makefile.am:
Don't link the autodetect plugin with GConf as it doesn't
use GConf. Fixes bug #545463.

15 years agogst/matroska/ebml-read.c: Change some GST_ELEMENT_ERRORs to GST_ERROR_OBJECT to make...
Sebastian Dröge [Fri, 22 Aug 2008 12:24:23 +0000 (12:24 +0000)]
gst/matroska/ebml-read.c: Change some GST_ELEMENT_ERRORs to GST_ERROR_OBJECT to make it possible to ignore errors and...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_element_id),
(gst_ebml_read_element_length), (gst_ebml_read_uint),
(gst_ebml_read_sint), (gst_ebml_read_float),
(gst_ebml_read_header):
Change some GST_ELEMENT_ERRORs to GST_ERROR_OBJECT to make it
possible to ignore errors and not post any ERROR messages on
the bus.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents):
Ignore any errors and not just EOS when parsing the contents of
a SeekHead. Errors here are usually caused by truncated files
and playback of the file works fine. Fixes playback of the
audio_only_chapter_seekbroken.mka file from the MPlayer samples
archive.

15 years agogst/multipart/: Conform to RFC2046. audio/basic is mulaw 8000Hz mono.
Zaheer Abbas Merali [Fri, 22 Aug 2008 11:29:26 +0000 (11:29 +0000)]
gst/multipart/: Conform to RFC2046. audio/basic is mulaw 8000Hz mono.

Original commit message from CVS:
* gst/multipart/multipartdemux.c:
* gst/multipart/multipartmux.c:
Conform to RFC2046. audio/basic is mulaw 8000Hz mono.

15 years agosys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc, gst_directdraw_...
Ole André Vadla Ravnås [Thu, 21 Aug 2008 21:56:19 +0000 (21:56 +0000)]
sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc, gst_directdraw_sink_bufferpool_clear):

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc,
gst_directdraw_sink_bufferpool_clear):
Fix two more buffer ref leaks.

15 years agosys/directdraw/gstdirectdrawsink.c: Fix buffer ref leak.
Ole André Vadla Ravnås [Thu, 21 Aug 2008 15:28:09 +0000 (15:28 +0000)]
sys/directdraw/gstdirectdrawsink.c: Fix buffer ref leak.

Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_show_frame):
Fix buffer ref leak.

15 years agogst/wavenc/gstwavenc.c: Revert the last commit. wavenc still supports width!=depth...
Sebastian Dröge [Thu, 21 Aug 2008 13:27:12 +0000 (13:27 +0000)]
gst/wavenc/gstwavenc.c: Revert the last commit. wavenc still supports width!=depth for 32 bit width. Thanks Tim.

Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain):
Revert the last commit. wavenc still supports width!=depth for 32 bit
width. Thanks Tim.

15 years agogst/matroska/matroska-demux.c: If the duration of a block is unknown only use the...
Sebastian Dröge [Thu, 21 Aug 2008 13:22:06 +0000 (13:22 +0000)]
gst/matroska/matroska-demux.c: If the duration of a block is unknown only use the timestamp for the first lace and us...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
If the duration of a block is unknown only use the timestamp for the
first lace and use GST_CLOCK_TIME_NONE as duration for the following
laces. Otherwise every lace has the same timestamp which leads to
various problems. Really fixes bug #548831.

15 years agogst/wavenc/gstwavenc.c: If we're not allowing width!=depth in wavenc we should also...
Sebastian Dröge [Thu, 21 Aug 2008 12:56:01 +0000 (12:56 +0000)]
gst/wavenc/gstwavenc.c: If we're not allowing width!=depth in wavenc we should also disable the code that was added t...

Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain):
If we're not allowing width!=depth in wavenc we should also disable
the code that was added to support width!=depth.

15 years agogst/matroska/matroska-demux.c: Don't calculate the default duration of a frame from...
Sebastian Dröge [Thu, 21 Aug 2008 12:52:47 +0000 (12:52 +0000)]
gst/matroska/matroska-demux.c: Don't calculate the default duration of a frame from the audio sampling rate. This onl...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream):
Don't calculate the default duration of a frame from the audio sampling
rate. This only works for raw audio if every frame contains a single
sample and results in broken buffer durations for other formats
if no specified default duration is given or the blocks have no
duration. Fixes bug #548831.

15 years agogst/matroska/matroska-demux.c: Allow zero sized blocks instead of returning GST_FLOW_...
Sebastian Dröge [Thu, 21 Aug 2008 12:34:33 +0000 (12:34 +0000)]
gst/matroska/matroska-demux.c: Allow zero sized blocks instead of returning GST_FLOW_OK. Such blocks are used for tex...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
Allow zero sized blocks instead of returning GST_FLOW_OK. Such blocks
are used for text/plain subtitles as a gap-filler in some files.

15 years agosys/v4l2/gstv4l2src.c: Add S910 and PWC formats with a low priority.
Wim Taymans [Thu, 21 Aug 2008 12:12:00 +0000 (12:12 +0000)]
sys/v4l2/gstv4l2src.c: Add S910 and PWC formats with a low priority.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_structure),
(gst_v4l2_get_caps_info):
Add S910 and PWC formats with a low priority.
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_format_get_rank),
(gst_v4l2src_probe_caps_for_format):
Add more debugging.

15 years agoext/flac/gstflacenc.c: Fix compilation against older libflac versions.
Tim-Philipp Müller [Wed, 20 Aug 2008 21:54:35 +0000 (21:54 +0000)]
ext/flac/gstflacenc.c: Fix compilation against older libflac versions.

Original commit message from CVS:
* ext/flac/gstflacenc.c:
Fix compilation against older libflac versions.

15 years agoext/pulse/: Use GST_BOILERPLATE everywhere and fix coding style at some places.
Sebastian Dröge [Wed, 20 Aug 2008 17:46:48 +0000 (17:46 +0000)]
ext/pulse/: Use GST_BOILERPLATE everywhere and fix coding style at some places.

Original commit message from CVS:
* ext/pulse/pulsemixer.c: (gst_pulsemixer_class_init),
(gst_pulsemixer_set_property), (gst_pulsemixer_get_property):
* ext/pulse/pulsemixerctrl.c: (gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_open), (gst_pulsemixer_ctrl_timeout_event),
(gst_pulsemixer_ctrl_set_volume):
* ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_new):
* ext/pulse/pulseprobe.c: (gst_pulseprobe_open):
* ext/pulse/pulsesink.c: (gst_pulsesink_class_init),
(gst_pulsesink_init), (gst_pulsesink_open),
(gst_pulsesink_prepare), (gst_pulsesink_write),
(gst_pulsesink_delay), (gst_pulsesink_reset):
* ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init),
(gst_pulsesrc_init):
Use GST_BOILERPLATE everywhere and fix coding style at some places.
Fix a locking issue in pulsesink's prepare function.
* ext/pulse/pulseutil.c: (gst_pulse_channel_map_to_gst):
Check if the created channel layout is valid for GStreamer.

15 years agogst/rtsp/gstrtspgoogle.c: Things that can happen when your brain is in google mode...
Wim Taymans [Wed, 20 Aug 2008 17:42:21 +0000 (17:42 +0000)]
gst/rtsp/gstrtspgoogle.c: Things that can happen when your brain is in google mode trying to deal with their google r...

Original commit message from CVS:
* gst/rtsp/gstrtspgoogle.c:
Things that can happen when your brain is in google mode trying to
deal with their google rtsp server extensions and trying to type your
google mail account.

15 years agogst/rtsp/: Add google RTSP extension, it can only handle udp and responds with unsupp...
Wim Taymans [Wed, 20 Aug 2008 17:30:19 +0000 (17:30 +0000)]
gst/rtsp/: Add google RTSP extension, it can only handle udp and responds with unsupported if we do anything else. Fi...

Original commit message from CVS:
* gst/rtsp/Makefile.am:
* gst/rtsp/gstrtsp.c: (plugin_init):
* gst/rtsp/gstrtspgoogle.c: (gst_rtsp_google_before_send),
(gst_rtsp_google_after_send), (gst_rtsp_google_get_transports),
(_do_init), (gst_rtsp_google_base_init),
(gst_rtsp_google_class_init), (gst_rtsp_google_init),
(gst_rtsp_google_finalize), (gst_rtsp_google_change_state),
(gst_rtsp_google_extension_init):
* gst/rtsp/gstrtspgoogle.h:
Add google RTSP extension, it can only handle udp and responds with
unsupported if we do anything else. Fixes #546465.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_connection_send),
(gst_rtspsrc_connection_receive), (gst_rtspsrc_loop_send_cmd),
(gst_rtspsrc_create_transports_string),
(gst_rtspsrc_setup_streams), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_pause):
Make transport setup code a bit better using GString.
Add some more debug.
Check for closed connections before doing anything on them.

15 years agoext/pulse/: If downstream provides no channel layout and >2 channels should be used...
Sebastian Dröge [Wed, 20 Aug 2008 17:17:55 +0000 (17:17 +0000)]
ext/pulse/: If downstream provides no channel layout and >2 channels should be used use the default layout that pulse...

Original commit message from CVS:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init),
(gst_pulsesrc_create_stream), (gst_pulsesrc_negotiate),
(gst_pulsesrc_prepare):
* ext/pulse/pulseutil.c: (gst_pulse_gst_to_channel_map),
(gst_pulse_channel_map_to_gst):
* ext/pulse/pulseutil.h:
If downstream provides no channel layout and >2 channels should be
used use the default layout that pulseaudio chooses and also
add this layout to the caps. Fixes bug #547258.

15 years agogst/udp/: Avoid leaking internally allocated file descriptors when setting custom...
Peter Kjellerstedt [Wed, 20 Aug 2008 11:51:38 +0000 (11:51 +0000)]
gst/udp/: Avoid leaking internally allocated file descriptors when setting custom file descriptors. Fixes #543101.

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* gst/udp/gstdynudpsink.c: (gst_dynudpsink_init),
(gst_dynudpsink_finalize), (gst_dynudpsink_set_property),
(gst_dynudpsink_init_send), (gst_dynudpsink_close):
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init),
(gst_multiudpsink_finalize), (gst_multiudpsink_set_property):
* gst/udp/gstudpsrc.c: (gst_udpsrc_finalize),
(gst_udpsrc_set_property):
Avoid leaking internally allocated file descriptors when setting
custom file descriptors. Fixes #543101.

15 years agogst/rtsp/gstrtspsrc.c: Don't try to configure RTCP back to the server when the server...
Wim Taymans [Wed, 20 Aug 2008 11:48:46 +0000 (11:48 +0000)]
gst/rtsp/gstrtspsrc.c: Don't try to configure RTCP back to the server when the server did not give us a valid port nu...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_udp_sink):
Don't try to configure RTCP back to the server when the server did not
give us a valid port number.

15 years agogst/videobox/gstvideobox.c: Use new basetransform method to renegotiate. Fixes #544956.
Wim Taymans [Wed, 20 Aug 2008 10:59:52 +0000 (10:59 +0000)]
gst/videobox/gstvideobox.c: Use new basetransform method to renegotiate. Fixes #544956.

Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_set_property):
Use new basetransform method to renegotiate. Fixes #544956.
* tests/icles/Makefile.am:
* tests/icles/videobox-test.c: (make_pipeline), (main):
Add videobox renegotiation example.

15 years agogst/wavenc/gstwavenc.c: Remove depth ranges and replace with sane values. Fixes...
David Schleef [Tue, 19 Aug 2008 21:03:22 +0000 (21:03 +0000)]
gst/wavenc/gstwavenc.c: Remove depth ranges and replace with sane values.  Fixes #548530.

Original commit message from CVS:
* gst/wavenc/gstwavenc.c: Remove depth ranges and replace
with sane values.  Fixes #548530.

15 years agoext/pulse/: The bytes_per_sample and silence_sample fields of the GstRingBufferSpec...
Sebastian Dröge [Mon, 18 Aug 2008 15:05:32 +0000 (15:05 +0000)]
ext/pulse/: The bytes_per_sample and silence_sample fields of the GstRingBufferSpec are already filled with the corre...

Original commit message from CVS:
* ext/pulse/pulsesink.c: (gst_pulsesink_prepare):
* ext/pulse/pulsesrc.c: (gst_pulsesrc_prepare):
The bytes_per_sample and silence_sample fields of the GstRingBufferSpec
are already filled with the correct values by
gst_ring_buffer_parse_caps() so there's no need to set them again
with wrong values.

15 years agogst/avi/gstavidemux.c: Some AVI 2.0 (ODML) files don't respect the 'specifications...
Edward Hervey [Sat, 16 Aug 2008 14:54:56 +0000 (14:54 +0000)]
gst/avi/gstavidemux.c: Some AVI 2.0 (ODML) files don't respect the 'specifications' completely and instead of using t...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_read_subindexes_pull),
(gst_avi_demux_read_subindexes_push):
Some AVI 2.0 (ODML) files don't respect the 'specifications' completely
and instead of using the 'ix##' nomenclature, use '##ix'.
They're still valid though, this fixes the duration and indexes for
virtually all the ODML files I have.

15 years agogst/rtp/: Update the vorbis RTP pay/depay to RFC 5215.
Olivier Crete [Fri, 15 Aug 2008 17:26:18 +0000 (17:26 +0000)]
gst/rtp/: Update the vorbis RTP pay/depay to RFC 5215.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps),
(gst_rtp_vorbis_depay_process):
* gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_finish_headers):
Update the vorbis RTP pay/depay to RFC 5215.
Fixes #547842.

15 years agogst/qtdemux/qtdemux.c: Add 'hdv6' as a HDV format for 1080i/60 with 3:2 pulldown...
David Schleef [Thu, 14 Aug 2008 22:07:02 +0000 (22:07 +0000)]
gst/qtdemux/qtdemux.c: Add 'hdv6' as a HDV format for 1080i/60 with 3:2 pulldown, i.e., 24p.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: Add 'hdv6' as a HDV format for 1080i/60
with 3:2 pulldown, i.e., 24p.

15 years agotests/check/elements/level.c: Fix compilation some more.
Wim Taymans [Thu, 14 Aug 2008 12:47:09 +0000 (12:47 +0000)]
tests/check/elements/level.c: Fix compilation some more.

Original commit message from CVS:
* tests/check/elements/level.c: (GST_START_TEST):
Fix compilation some more.

15 years agoconfigure.ac: Require -base CVS for wavparse acid chunk parsing.
Tim-Philipp Müller [Thu, 14 Aug 2008 11:44:59 +0000 (11:44 +0000)]
configure.ac: Require -base CVS for wavparse acid chunk parsing.

Original commit message from CVS:
* configure.ac::
Require -base CVS for wavparse acid chunk parsing.

15 years agoext/pulse/pulsesink.*: Add "device-name" property to pulsesink too and currently...
Sebastian Dröge [Wed, 13 Aug 2008 13:57:01 +0000 (13:57 +0000)]
ext/pulse/pulsesink.*: Add "device-name" property to pulsesink too and currently commented out and not working suppor...

Original commit message from CVS:
* ext/pulse/pulsesink.c: (gst_pulsesink_class_init),
(gst_pulsesink_init), (gst_pulsesink_finalize),
(gst_pulsesink_set_volume), (gst_pulsesink_get_volume),
(gst_pulsesink_set_property), (gst_pulsesink_get_property),
(gst_pulsesink_prepare), (gst_pulsesink_change_state):
* ext/pulse/pulsesink.h:
Add "device-name" property to pulsesink too and currently commented
out and not working support for a "volume" property.

15 years agoconfigure.ac: Remove more cdio stuff (moved to ugly)
Thijs Vermeir [Wed, 13 Aug 2008 13:17:15 +0000 (13:17 +0000)]
configure.ac: Remove more cdio stuff (moved to ugly)

Original commit message from CVS:
* configure.ac:
Remove more cdio stuff (moved to ugly)

15 years agoext/pulse/pulsesrc.c: Add "device-name" property, which provides a human readable...
Laszlo Pandy [Wed, 13 Aug 2008 12:37:26 +0000 (12:37 +0000)]
ext/pulse/pulsesrc.c: Add "device-name" property, which provides a human readable string for the audio device, to mak...

Original commit message from CVS:
Patch by: Laszlo Pandy <laszlok2 at gmail dot com>
* ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init),
(gst_pulsesrc_get_property):
Add "device-name" property, which provides a human readable string
for the audio device, to make it more consisten with other audio
sources. Fixes bug #547519.

15 years agoext/pulse/: Improve debugging a bit by including the parent object in pulsemixerctrl...
Sebastian Dröge [Wed, 13 Aug 2008 12:34:13 +0000 (12:34 +0000)]
ext/pulse/: Improve debugging a bit by including the parent object in pulsemixerctrl and pulseprobe objects and using...

Original commit message from CVS:
* ext/pulse/pulsemixer.c: (gst_pulsemixer_change_state):
* ext/pulse/pulsemixerctrl.c: (gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_open), (gst_pulsemixer_ctrl_new),
(gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_timeout_event):
* ext/pulse/pulsemixerctrl.h:
* ext/pulse/pulseprobe.c: (gst_pulseprobe_open),
(gst_pulseprobe_enumerate), (gst_pulseprobe_new),
(gst_pulseprobe_free), (gst_pulseprobe_needs_probe),
(gst_pulseprobe_probe_property), (gst_pulseprobe_get_values):
* ext/pulse/pulseprobe.h:
* ext/pulse/pulsesink.c: (gst_pulsesink_init):
* ext/pulse/pulsesrc.c: (gst_pulsesrc_init), (gst_pulsesrc_delay),
(gst_pulsesrc_change_state):
Improve debugging a bit by including the parent object in pulsemixerctrl
and pulseprobe objects and using GST_WARNING_OBJECT instead of
GST_WARNING.
Use the parent GObject subclass instead of a random struct as GObject
parameter for G_OBJECT_WARN_INVALID_PROPERTY_ID. This fixes a crash
when probing for another property than "device".

15 years agoext/pulse/pulsemixer.c: Fix property probing after the device property is set by...
Laszlo Pandy [Wed, 13 Aug 2008 12:21:22 +0000 (12:21 +0000)]
ext/pulse/pulsemixer.c: Fix property probing after the device property is set by calling set_server when the server p...

Original commit message from CVS:
Patch by: Laszlo Pandy <laszlok2 at gmail dot com>
* ext/pulse/pulsemixer.c: (gst_pulsemixer_set_property):
Fix property probing after the device property is set by calling
set_server when the server property changes. Fixes bug #547518.

15 years agoext/pulse/pulsemixer.c: Fix property probing after the device property is set by...
Laszlo Pandy [Wed, 13 Aug 2008 12:11:34 +0000 (12:11 +0000)]
ext/pulse/pulsemixer.c: Fix property probing after the device property is set by calling set_server when the server p...

Original commit message from CVS:
Patch by: Laszlo Pandy <laszlok2 at gmail dot com>
* ext/pulse/pulsemixer.c: (gst_pulsemixer_set_property):
Fix property probing after the device property is set by calling
set_server when the server property changes. Fixes bug #547518.

15 years agoext/pulse/: Implement GstPropertyProbe interface on pulsesink for detecting sink...
Laszlo Pandy [Wed, 13 Aug 2008 12:01:01 +0000 (12:01 +0000)]
ext/pulse/: Implement GstPropertyProbe interface on pulsesink for detecting sink devices and on pulsesrc for detectin...

Original commit message from CVS:
Patch by: Laszlo Pandy <laszlok2 at gmail dot com>
* ext/pulse/pulsesink.c: (gst_pulsesink_interface_supported),
(gst_pulsesink_implements_interface_init),
(gst_pulsesink_init_interfaces), (gst_pulsesink_init),
(gst_pulsesink_finalize), (gst_pulsesink_set_property),
(gst_pulsesink_get_type):
* ext/pulse/pulsesink.h:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_init_interfaces), (gst_pulsesrc_init),
(gst_pulsesrc_finalize), (gst_pulsesrc_set_property):
* ext/pulse/pulsesrc.h:
Implement GstPropertyProbe interface on pulsesink for detecting
sink devices and on pulsesrc for detecting source devices.
Fixes bugs #547227 and #547217.

15 years agogst/spectrum/gstspectrum.c: Don't terminate on fabs(in)>1.0. Init doubles as doubles.
Stefan Kost [Wed, 13 Aug 2008 09:17:20 +0000 (09:17 +0000)]
gst/spectrum/gstspectrum.c: Don't terminate on fabs(in)>1.0. Init doubles as doubles.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c:
Don't terminate on fabs(in)>1.0. Init doubles as doubles.

15 years agosys/v4l2/gstv4l2src.c: Properly set the maximum latency value, in the same way it...
Edward Hervey [Wed, 13 Aug 2008 08:33:57 +0000 (08:33 +0000)]
sys/v4l2/gstv4l2src.c: Properly set the maximum latency value, in the same way it is done in v4lsrc.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_query):
Properly set the maximum latency value, in the same way it is done in
v4lsrc.
* sys/v4l2/v4l2src_calls.c:
Simplify fraction equality check, no need to use GValues for this.

15 years agosys/v4l2/gstv4l2src.c: Add warning messages stating exactly why the latency query...
Edward Hervey [Tue, 12 Aug 2008 12:04:24 +0000 (12:04 +0000)]
sys/v4l2/gstv4l2src.c: Add warning messages stating exactly why the latency query failed.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_query):
Add warning messages stating exactly why the latency query failed.
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture):
In some cases, the negotiated framerate might be the default one which
is already set internally. But we still need to mark it down in fps_n
and fps_d so that the latency query can happen properly.

15 years agodocs/plugins/inspect/plugin-1394.xml: Whoops, forgot one doc file for people who...
Edward Hervey [Tue, 12 Aug 2008 11:28:47 +0000 (11:28 +0000)]
docs/plugins/inspect/plugin-1394.xml: Whoops, forgot one doc file for people who can't/don't build the raw1394 plugin.

Original commit message from CVS:
* docs/plugins/inspect/plugin-1394.xml:
Whoops, forgot one doc file for people who can't/don't build the
raw1394 plugin.

15 years agoPull changes from 0.10.9.2 pre-release branch moving the libcdio
Jan Schmidt [Tue, 12 Aug 2008 09:22:29 +0000 (09:22 +0000)]
Pull changes from 0.10.9.2 pre-release branch moving the libcdio

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-cdio.xml:
* ext/Makefile.am:
* ext/cdio/Makefile.am:
* ext/cdio/gstcdio.c:
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c:
* ext/cdio/gstcdiocddasrc.h:
Pull changes from 0.10.9.2 pre-release branch moving the libcdio
CDDA source to -ugly.
* po/LINGUAS:
* po/POTFILES.in:
* po/id.po:
Pull in new translation from 0.10.9.2 release branch.

15 years agodocs/plugins/: Integrate documentation for new hdv1394src element.
Edward Hervey [Mon, 11 Aug 2008 15:05:13 +0000 (15:05 +0000)]
docs/plugins/: Integrate documentation for new hdv1394src element.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.interfaces:
Integrate documentation for new hdv1394src element.

15 years agoext/raw1394/: mpeg2-ts (HDV) variant of firewire capture element.
Edward Hervey [Mon, 11 Aug 2008 14:36:13 +0000 (14:36 +0000)]
ext/raw1394/: mpeg2-ts (HDV) variant of firewire capture element.

Original commit message from CVS:
* ext/raw1394/Makefile.am:
* ext/raw1394/gst1394.c: (plugin_init):
* ext/raw1394/gsthdv1394src.c: (_do_init),
(gst_hdv1394src_base_init), (gst_hdv1394src_class_init),
(gst_hdv1394src_init), (gst_hdv1394src_dispose),
(gst_hdv1394src_set_property), (gst_hdv1394src_get_property),
(gst_hdv1394src_from_raw1394handle),
(gst_hdv1394src_iec61883_receive), (gst_hdv1394src_bus_reset),
(gst_hdv1394src_create), (gst_hdv1394src_discover_avc_node),
(gst_hdv1394src_start), (gst_hdv1394src_stop),
(gst_hdv1394src_unlock), (gst_hdv1394src_update_device_name),
(gst_hdv1394src_uri_get_type), (gst_hdv1394src_uri_get_protocols),
(gst_hdv1394src_uri_get_uri), (gst_hdv1394src_uri_set_uri),
(gst_hdv1394src_uri_handler_init):
* ext/raw1394/gsthdv1394src.h:
mpeg2-ts (HDV) variant of firewire capture element.
Fixes #350830

15 years agogst/level/gstlevel.c: Fix compilation (also known as the classic 'fix code that someo...
Edward Hervey [Mon, 11 Aug 2008 10:53:06 +0000 (10:53 +0000)]
gst/level/gstlevel.c: Fix compilation (also known as the classic 'fix code that someone committed without compiling i...

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_message_new):
Fix compilation (also known as the classic 'fix code that someone
committed without compiling it first').

15 years agotests/check/elements/level.c: Add a test for level in stereo mode.
Stefan Kost [Sun, 10 Aug 2008 19:40:27 +0000 (19:40 +0000)]
tests/check/elements/level.c: Add a test for level in stereo mode.

Original commit message from CVS:
* tests/check/elements/level.c:
Add a test for level in stereo mode.

15 years agotests/examples/spectrum/: Demo how to draw analyzer results synced to the clock.
Stefan Kost [Sun, 10 Aug 2008 19:35:05 +0000 (19:35 +0000)]
tests/examples/spectrum/: Demo how to draw analyzer results synced to the clock.

Original commit message from CVS:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Demo how to draw analyzer results synced to the clock.

15 years agogst/level/gstlevel.c: Little renaming (l -> level).
Stefan Kost [Sun, 10 Aug 2008 15:52:42 +0000 (15:52 +0000)]
gst/level/gstlevel.c: Little renaming (l -> level).

Original commit message from CVS:
* gst/level/gstlevel.c:
Little renaming (l -> level).
* gst/spectrum/gstspectrum.c:
* gst/spectrum/gstspectrum.h:
Also send full timestamp/duration details here.

15 years agogst/level/gstlevel.*: Send same timestamp/duration details as videoanalysis. This...
Stefan Kost [Sun, 10 Aug 2008 11:32:03 +0000 (11:32 +0000)]
gst/level/gstlevel.*: Send same timestamp/duration details as videoanalysis. This gives applications better chance to...

Original commit message from CVS:
* gst/level/gstlevel.c:
* gst/level/gstlevel.h:
Send same timestamp/duration details as videoanalysis. This gives
applications better chance to sync analysis results with playback.

15 years agogst/matroska/matroska-mux.c: We need to drop one additional buffer for FLAC as the...
Sebastian Dröge [Sat, 9 Aug 2008 14:02:27 +0000 (14:02 +0000)]
gst/matroska/matroska-mux.c: We need to drop one additional buffer for FLAC as the fLaC marker and STREAMINFO block a...

Original commit message from CVS:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_handle_sink_event),
(flac_streamheader_to_codecdata):
We need to drop one additional buffer for FLAC as the fLaC
marker and STREAMINFO block are merged into one buffer in the caps.
Also don't pretend to support NEWSEGMENT events, otherwise we
will most probably write some invalid data.

15 years agogst/matroska/matroska-mux.c: Add support for muxing FLAC into Matroska containers.
Sebastian Dröge [Sat, 9 Aug 2008 13:48:22 +0000 (13:48 +0000)]
gst/matroska/matroska-mux.c: Add support for muxing FLAC into Matroska containers.

Original commit message from CVS:
* gst/matroska/matroska-mux.c: (flac_streamheader_to_codecdata),
(gst_matroska_mux_audio_pad_setcaps):
Add support for muxing FLAC into Matroska containers.
Fixes bug #311586.

15 years agoext/flac/gstflacenc.c: Actually provide the variables required for the format string.
Sebastian Dröge [Sat, 9 Aug 2008 08:58:26 +0000 (08:58 +0000)]
ext/flac/gstflacenc.c: Actually provide the variables required for the format string.

Original commit message from CVS:
* ext/flac/gstflacenc.c: (gst_flac_enc_check_discont):
Actually provide the variables required for the format string.

15 years agogst/matroska/matroska-demux.*: Close the current segment if we're doing a non-flushin...
Sebastian Dröge [Fri, 8 Aug 2008 16:20:26 +0000 (16:20 +0000)]
gst/matroska/matroska-demux.*: Close the current segment if we're doing a non-flushing seek and send the close-segmen...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_element_send_event),
(gst_matroska_demux_handle_seek_event), (gst_matroska_demux_loop):
* gst/matroska/matroska-demux.h:
Close the current segment if we're doing a non-flushing seek and send
the close-segment and the new segment of the seek from the streaming
thread.

15 years agoext/flac/gstflacenc.*: Handle non-zero start timestamps correctly, mark header packets as
Sebastian Dröge [Fri, 8 Aug 2008 15:20:24 +0000 (15:20 +0000)]
ext/flac/gstflacenc.*: Handle non-zero start timestamps correctly, mark header packets as

Original commit message from CVS:
* ext/flac/gstflacenc.c: (gst_flac_enc_write_callback),
(gst_flac_enc_check_discont), (gst_flac_enc_chain),
(gst_flac_enc_change_state):
* ext/flac/gstflacenc.h:
Handle non-zero start timestamps correctly, mark header packets as
IN_CAPS and print a warning and suggest using audiorate if stream
discontinuities are detected. When FLAC supports flushing the encoder
somehow this should be done for discontinuities instead.
Remove some unused variables from the instance struct.

15 years agoadd pulseaudio to plugins list in spec file
Christian Schaller [Thu, 7 Aug 2008 17:14:39 +0000 (17:14 +0000)]
add pulseaudio to plugins list in spec file

Original commit message from CVS:
add pulseaudio to plugins list in spec file

15 years agoext/flac/gstflacenc.c: If seeking failed return the appropiate return value to FLAC.
Sebastian Dröge [Thu, 7 Aug 2008 16:13:41 +0000 (16:13 +0000)]
ext/flac/gstflacenc.c: If seeking failed return the appropiate return value to FLAC.

Original commit message from CVS:
* ext/flac/gstflacenc.c: (gst_flac_enc_seek_callback):
If seeking failed return the appropiate return value to FLAC.
Otherwise it thinks seeking was successfull and tries to rewrite
parts of the headers which then get appended to the output.

15 years agoMake sure gettext returns translations in UTF-8 encoding rather than in the current...
Frederic Crozat [Thu, 7 Aug 2008 16:11:00 +0000 (16:11 +0000)]
Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).

Original commit message from CVS:
Patch by: Frederic Crozat <fcrozat@mandriva.org>
* ext/esd/gstesd.c: (plugin_init):
* ext/flac/gstflac.c: (plugin_init):
* ext/shout2/gstshout2.c: (plugin_init):
* ext/wavpack/gstwavpack.c: (plugin_init):
* sys/oss/gstossaudio.c: (plugin_init):
* sys/v4l2/gstv4l2.c: (plugin_init):
Make sure gettext returns translations in UTF-8 encoding rather
than in the current locale encoding (#546822).

15 years agoext/flac/gstflacdec.c: Add FIXME for 0.11 to simply output everything with width...
Sebastian Dröge [Thu, 7 Aug 2008 14:40:13 +0000 (14:40 +0000)]
ext/flac/gstflacdec.c: Add FIXME for 0.11 to simply output everything with width=32 as given by FLAC and let audiocon...

Original commit message from CVS:
* ext/flac/gstflacdec.c:
Add FIXME for 0.11 to simply output everything with width=32 as given
by FLAC and let audioconvert handle the conversions instead of doing
them in flacdec.

15 years agosys/v4l2/v4l2src_calls.c: When outputting a pad template range for the size, include...
Jan Schmidt [Thu, 7 Aug 2008 10:22:32 +0000 (10:22 +0000)]
sys/v4l2/v4l2src_calls.c: When outputting a pad template range for the size, include a framerate range too, to avoid ...

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format):
When outputting a pad template range for the size, include a framerate
range too, to avoid 'not a real subset of template caps' errors.

15 years agoext/flac/: Port flactag to 0.10, add documentation for it and clean it up a bit.
Jonathan Matthew [Wed, 6 Aug 2008 15:34:55 +0000 (15:34 +0000)]
ext/flac/: Port flactag to 0.10, add documentation for it and clean it up a bit.

Original commit message from CVS:
Based on a patch by: Jonathan Matthew <notverysmart at gmail dot com>
* ext/flac/Makefile.am:
* ext/flac/gstflac.c: (plugin_init):
* ext/flac/gstflactag.c: (gst_flac_tag_setup_interfaces),
(gst_flac_tag_base_init), (gst_flac_tag_class_init),
(gst_flac_tag_dispose), (gst_flac_tag_init),
(gst_flac_tag_sink_setcaps), (gst_flac_tag_chain),
(gst_flac_tag_change_state):
* ext/flac/gstflactag.h:
Port flactag to 0.10, add documentation for it and clean it up a bit.
Fixes bug #413841.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.interfaces:
* docs/plugins/gst-plugins-good-plugins.prerequisites:
* docs/plugins/inspect/plugin-flac.xml:
* ext/flac/gstflacdec.c: (gst_flac_dec_base_init):
* ext/flac/gstflacdec.h:
* ext/flac/gstflacenc.c: (gst_flac_enc_base_init):
* ext/flac/gstflacenc.h:
Add flactag and flacenc to the documentation and mark
the private parts of the flacdec instance structure as private.
Also use gst_element_class_set_details_simple() in flacdec and
flacenc.

15 years agogst/qtdemux/qtdemux.c: Use audio/x-qdm for caps. Collect some info - mplayer has...
Stefan Kost [Wed, 6 Aug 2008 13:12:07 +0000 (13:12 +0000)]
gst/qtdemux/qtdemux.c: Use audio/x-qdm for caps. Collect some info - mplayer has a decoder for it but ffmpeg does not.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
Use audio/x-qdm for caps. Collect some info - mplayer has a decoder
for it but ffmpeg does not.

15 years agogst/wavparse/gstwavparse.c: Handle the list chunk and use gst_riff_parse_info() to...
Stefan Kost [Tue, 5 Aug 2008 15:05:44 +0000 (15:05 +0000)]
gst/wavparse/gstwavparse.c: Handle the list chunk and use gst_riff_parse_info() to parse the info sub-chunk.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
Handle the list chunk and use gst_riff_parse_info() to parse the info
sub-chunk.

15 years agogst/wavparse/gstwavparse.c: Handle the acid chunk and send tempo as part of tags...
Stefan Kost [Tue, 5 Aug 2008 14:22:12 +0000 (14:22 +0000)]
gst/wavparse/gstwavparse.c: Handle the acid chunk and send tempo as part of tags. Other fields are interesting too, b...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
Handle the acid chunk and send tempo as part of tags. Other fields are
interesting too, but need more tag-definitions. Fixes #545433.

15 years agogst/wavparse/gstwavparse.c: Refactor wavparse. Call _reset() from dispose() and move...
Stefan Kost [Tue, 5 Aug 2008 14:16:32 +0000 (14:16 +0000)]
gst/wavparse/gstwavparse.c: Refactor wavparse. Call _reset() from dispose() and move old code from dispose into reset...

Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
Refactor wavparse. Call _reset() from dispose() and move old code from
dispose into reset. This way we don't leak taglists when we abort
parsing. Fix some comments. Move code for skipping a chunk into extra
function. Replace chunk sizes with a const to ease readability.

15 years agogst/rtsp/gstrtspsrc.c: Improve udp port setup. Fixes #545710.
Aurelien Grimaud [Tue, 5 Aug 2008 13:57:57 +0000 (13:57 +0000)]
gst/rtsp/gstrtspsrc.c: Improve udp port setup. Fixes #545710.

Original commit message from CVS:
Patch by: Aurelien Grimaud <gstelzz at yahoo dot fr>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_alloc_udp_ports):
Improve udp port setup. Fixes #545710.

15 years agogst/rtp/: Add MP1S depayloader.
Wim Taymans [Tue, 5 Aug 2008 13:54:18 +0000 (13:54 +0000)]
gst/rtp/: Add MP1S depayloader.

Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpmp1sdepay.c: (gst_rtp_mp1s_depay_base_init),
(gst_rtp_mp1s_depay_class_init), (gst_rtp_mp1s_depay_init),
(gst_rtp_mp1s_depay_setcaps), (gst_rtp_mp1s_depay_process),
(gst_rtp_mp1s_depay_set_property),
(gst_rtp_mp1s_depay_get_property),
(gst_rtp_mp1s_depay_change_state),
(gst_rtp_mp1s_depay_plugin_init):
* gst/rtp/gstrtpmp1sdepay.h:
Add MP1S depayloader.
* gst/rtsp/URLS:
Some more sample rtsp streams.

15 years agogst/rtsp/URLS: Add another URL.
Wim Taymans [Tue, 5 Aug 2008 08:43:45 +0000 (08:43 +0000)]
gst/rtsp/URLS: Add another URL.

Original commit message from CVS:
* gst/rtsp/URLS:
Add another URL.
* tests/check/elements/id3v2mux.c: (test_taglib_id3mux_with_tags):
* tests/check/elements/rglimiter.c: (GST_START_TEST):
Add some more debug info.

15 years agogst/avi/gstavimux.c: Provide cbSize field for audio extra_data size, and take care...
Mark Nauwelaerts [Mon, 4 Aug 2008 09:16:40 +0000 (09:16 +0000)]
gst/avi/gstavimux.c: Provide cbSize field for audio extra_data size, and take care to pad extra_data.

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header):
Provide cbSize field for audio extra_data size, and take care to
pad extra_data.

15 years agogst/qtdemux/qtdemux.c: Return the result of gst_pad_{start,stop}_task instead of...
Stefan Kost [Mon, 4 Aug 2008 07:23:07 +0000 (07:23 +0000)]
gst/qtdemux/qtdemux.c: Return the result of gst_pad_{start,stop}_task instead of hard-coded

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
Return the result of gst_pad_{start,stop}_task instead of hard-coded
TRUE.

15 years agogst/qtdemux/: Add keyword tag support. Fixes #520694 for qtdemux.
Stefan Kost [Mon, 4 Aug 2008 07:17:38 +0000 (07:17 +0000)]
gst/qtdemux/: Add keyword tag support. Fixes #520694 for qtdemux.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
* gst/qtdemux/qtdemux_fourcc.h:
Add keyword tag support. Fixes #520694 for qtdemux.

15 years agogst/qtdemux/qtdemux.c: Add support for tmpo tag (BPM).
Stefan Kost [Mon, 4 Aug 2008 07:05:33 +0000 (07:05 +0000)]
gst/qtdemux/qtdemux.c: Add support for tmpo tag (BPM).

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
Add support for tmpo tag (BPM).

15 years agoext/flac/gstflacenc.c: Set an estimate for the total number of samples that will...
Sebastian Dröge [Sun, 3 Aug 2008 12:23:49 +0000 (12:23 +0000)]
ext/flac/gstflacenc.c: Set an estimate for the total number of samples that will be encoded if possible to help decod...

Original commit message from CVS:
* ext/flac/gstflacenc.c: (gst_flac_enc_query_peer_total_samples),
(gst_flac_enc_sink_setcaps), (gst_flac_enc_write_callback):
Set an estimate for the total number of samples that will be encoded
if possible to help decoders if the streaminfo can't be rewritten
later (like when muxing into Ogg containers).
Add a warning if we get header packets after data packets as those
will get lost when muxing into Ogg, i.e. rewriting the headers doesn't
work.

15 years agoext/flac/gstflacdec.c: Support decoding of all depths between 4 and 32 bits and read...
Sebastian Dröge [Sun, 3 Aug 2008 11:38:22 +0000 (11:38 +0000)]
ext/flac/gstflacdec.c: Support decoding of all depths between 4 and 32 bits and read the depth from the streaminfo he...

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_metadata_callback),
(gst_flac_dec_write):
Support decoding of all depths between 4 and 32 bits and read the
depth from the streaminfo header if needed. Also support all sampling
rates between 1 and 655350 Hz.
* ext/flac/gstflacenc.c:
(gst_flac_enc_caps_append_structure_with_widths),
(gst_flac_enc_sink_getcaps), (gst_flac_enc_sink_setcaps),
(gst_flac_enc_chain):
* ext/flac/gstflacenc.h:
Support encoding in all bit depths supported by the streamable
subformat (i.e. 8, 12, 16, 20 and 24 bits) and all sampling rates
between 1 Hz and 655350 Hz.