platform/upstream/gst-plugins-good.git
15 years agoDecode the codec private data and following ContentEncoding if necessary.
Sebastian Dröge [Sat, 2 Aug 2008 18:18:05 +0000 (18:18 +0000)]
Decode the codec private data and following ContentEncoding if necessary.

Original commit message from CVS:
* configure.ac:
* gst/matroska/Makefile.am:
* gst/matroska/lzo.c: (get_byte), (get_len), (copy),
(copy_backptr), (lzo1x_decode), (main):
* gst/matroska/lzo.h:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_read_track_encoding),
(gst_matroska_decompress_data), (gst_matroska_decode_data),
(gst_matroska_decode_buffer),
(gst_matroska_decode_content_encodings),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_add_stream),
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
* gst/matroska/matroska-ids.h:
Decode the codec private data and following ContentEncoding if
necessary.
Support bzip2, lzo and header stripped compression. For lzo use the
ffmpeg lzo implementation as liblzo is GPL licensed.
Fix zlib decompression.

15 years agogst/matroska/matroska-mux.c: Fix muxing of MP3/MP2 with different MPEG versions by...
Sebastian Dröge [Sat, 2 Aug 2008 18:11:32 +0000 (18:11 +0000)]
gst/matroska/matroska-mux.c: Fix muxing of MP3/MP2 with different MPEG versions by calculating the duration of a fram...

Original commit message from CVS:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_audio_pad_setcaps):
Fix muxing of MP3/MP2 with different MPEG versions by calculating the
duration of a frame with the new mpegaudioversion caps field.

15 years agogst/matroska/matroska-demux.*: Allow an infinite number of stream inside Matroska...
Sebastian Dröge [Sat, 2 Aug 2008 18:06:20 +0000 (18:06 +0000)]
gst/matroska/matroska-demux.*: Allow an infinite number of stream inside Matroska containers and use a GPtrArray for ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_finalize),
(gst_matroska_demux_class_init), (gst_matroska_demux_init),
(gst_matroska_demux_combine_flows), (gst_matroska_demux_reset),
(gst_matroska_demux_stream_from_num),
(gst_matroska_demux_tracknumber_unique),
(gst_matroska_demux_add_stream), (gst_matroska_demux_send_event),
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_sync_streams),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_loop):
* gst/matroska/matroska-demux.h:
Allow an infinite number of stream inside Matroska containers and use
a GPtrArray for storing them instead of allowing "only" 127 streams.

15 years agogst/matroska/: Fix indention everywhere. A broken indent version has added newlines...
Sebastian Dröge [Sat, 2 Aug 2008 18:01:36 +0000 (18:01 +0000)]
gst/matroska/: Fix indention everywhere. A broken indent version has added newlines after every single declaration so...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_class_init),
(gst_ebml_read_change_state), (gst_ebml_read_element_level_up),
(gst_ebml_read_peek_bytes), (gst_ebml_read_element_id),
(gst_ebml_read_element_length), (gst_ebml_peek_id),
(gst_ebml_read_get_length), (gst_ebml_read_skip),
(gst_ebml_read_buffer), (gst_ebml_read_bytes),
(gst_ebml_read_uint), (gst_ebml_read_sint), (_ext2dbl),
(gst_ebml_read_float), (gst_ebml_read_ascii), (gst_ebml_read_date),
(gst_ebml_read_master), (gst_ebml_read_binary),
(gst_ebml_read_header):
* gst/matroska/ebml-write.c: (gst_ebml_write_element_id),
(gst_ebml_write_element_size), (gst_ebml_write_uint),
(gst_ebml_write_sint), (gst_ebml_write_ascii),
(gst_ebml_write_master_start), (gst_ebml_write_master_finish),
(gst_ebml_replace_uint):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_read_track_encoding),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_add_stream), (gst_matroskademux_do_index_seek),
(gst_matroska_demux_send_event),
(gst_matroska_demux_element_send_event),
(gst_matroska_demux_handle_seek_event),
(gst_matroska_demux_handle_src_event),
(gst_matroska_demux_init_stream),
(gst_matroska_demux_parse_tracks),
(gst_matroska_demux_parse_index_cuetrack),
(gst_matroska_demux_parse_index_pointentry),
(gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_metadata_id_simple_tag),
(gst_matroska_demux_parse_metadata_id_tag),
(gst_matroska_demux_parse_metadata),
(gst_matroska_demux_parse_attached_file),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_chapters), (gst_matroska_ebmlnum_uint),
(gst_matroska_ebmlnum_sint), (gst_matroska_demux_push_hdr_buf),
(gst_matroska_demux_push_flac_codec_priv_data),
(gst_matroska_demux_push_xiph_codec_priv_data),
(gst_matroska_demux_push_dvd_clut_change_event),
(gst_matroska_demux_add_mpeg_seq_header),
(gst_matroska_demux_add_wvpk_header),
(gst_matroska_demux_check_subtitle_buffer),
(gst_matroska_decode_buffer),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_parse_cluster),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_parse_contents),
(gst_matroska_demux_loop_stream_parse_id),
(gst_matroska_demux_loop_stream), (gst_matroska_demux_loop),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps),
(gst_matroska_demux_subtitle_caps),
(gst_matroska_demux_change_state):
* gst/matroska/matroska-ids.c:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init),
(gst_matroska_mux_reset), (gst_matroska_mux_handle_sink_event),
(gst_matroska_mux_video_pad_setcaps),
(xiph3_streamheader_to_codecdata),
(vorbis_streamheader_to_codecdata),
(theora_streamheader_to_codecdata),
(gst_matroska_mux_audio_pad_setcaps),
(gst_matroska_mux_request_new_pad), (gst_matroska_mux_release_pad),
(gst_matroska_mux_track_header), (gst_matroska_mux_start),
(gst_matroska_mux_write_simple_tag), (gst_matroska_mux_finish),
(gst_matroska_mux_best_pad), (gst_matroska_mux_write_data),
(gst_matroska_mux_collected), (gst_matroska_mux_change_state):
Fix indention everywhere. A broken indent version has added newlines
after every single declaration some time ago.

15 years agogst/matroska/matroska-demux.c: If no Tracks are found error out instead of trying...
Sebastian Dröge [Sat, 2 Aug 2008 17:59:05 +0000 (17:59 +0000)]
gst/matroska/matroska-demux.c: If no Tracks are found error out instead of trying it again until the end of time.

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_loop_stream_parse_id):
If no Tracks are found error out instead of trying it again until the
end of time.

15 years agogst/matroska/matroska-demux.c: Fix demuxing of raw integer audio. The samples are...
Sebastian Dröge [Sat, 2 Aug 2008 17:57:31 +0000 (17:57 +0000)]
gst/matroska/matroska-demux.c: Fix demuxing of raw integer audio. The samples are unsigned only for 8 bit and signed ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
Fix demuxing of raw integer audio. The samples are unsigned only for 8
bit and signed otherwise, not the other way around.

15 years agogst/matroska/matroska-mux.c: Add more raw YUV formats to the list of supported formats.
Sebastian Dröge [Sat, 2 Aug 2008 17:54:04 +0000 (17:54 +0000)]
gst/matroska/matroska-mux.c: Add more raw YUV formats to the list of supported formats.

Original commit message from CVS:
* gst/matroska/matroska-mux.c:
Add more raw YUV formats to the list of supported formats.

15 years agogst/matroska/matroska-mux.c: Add support for muxing raw float audio now that the...
Sebastian Dröge [Sat, 2 Aug 2008 17:52:16 +0000 (17:52 +0000)]
gst/matroska/matroska-mux.c: Add support for muxing raw float audio now that the spec defines the endianness and add ...

Original commit message from CVS:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_audio_pad_setcaps):
Add support for muxing raw float audio now that the spec defines the
endianness and add support for muxing raw integer audio with 24 and
32 bits.
Allow muxing of more than 8 audio channels.

15 years agogst/matroska/matroska-mux.c: Add locking to the global array of used track UIDs to...
Sebastian Dröge [Sat, 2 Aug 2008 17:47:32 +0000 (17:47 +0000)]
gst/matroska/matroska-mux.c: Add locking to the global array of used track UIDs to prevent random crashes if more tha...

Original commit message from CVS:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_create_uid),
(gst_matroska_mux_reset), (gst_matroska_mux_start):
Add locking to the global array of used track UIDs to prevent random
crashes if more than a single matrosmux instance is used.
Use 64 bit values for the track UIDs.
Use the global GRandom of GLib instead of creating our own one
for the few random numbers we need every single time.

15 years agoext/flac/gstflacdec.c: Always post the audio-codec tag, not only if other tags are...
Sebastian Dröge [Sat, 2 Aug 2008 17:18:47 +0000 (17:18 +0000)]
ext/flac/gstflacdec.c: Always post the audio-codec tag, not only if other tags are present.

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flac_dec_setup_seekable_decoder),
(gst_flac_dec_setup_stream_decoder),
(gst_flac_dec_update_metadata):
Always post the audio-codec tag, not only if other tags are present.

15 years agoconfigure.ac: Back to development -> 0.10.9.1
Jan Schmidt [Fri, 1 Aug 2008 23:26:50 +0000 (23:26 +0000)]
configure.ac: Back to development -> 0.10.9.1

Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.9.1

15 years agoadd missing gstreamer plugins to spec file
Christian Schaller [Fri, 1 Aug 2008 15:58:47 +0000 (15:58 +0000)]
add missing gstreamer plugins to spec file

Original commit message from CVS:
add missing gstreamer plugins to spec file

15 years agoRelease 0.10.9 RELEASE-0_10_9
Jan Schmidt [Thu, 31 Jul 2008 22:10:17 +0000 (22:10 +0000)]
Release 0.10.9

Original commit message from CVS:
Release 0.10.9

15 years agoUpdate .po files
Jan Schmidt [Thu, 31 Jul 2008 21:50:44 +0000 (21:50 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

15 years agoext/soup/gstsouphttpsrc.c: Don't throw an error when soup completes a msg with status...
Jan Schmidt [Thu, 31 Jul 2008 21:26:48 +0000 (21:26 +0000)]
ext/soup/gstsouphttpsrc.c: Don't throw an error when soup completes a msg with status 'cancelled', as that indicates ...

Original commit message from CVS:
* ext/soup/gstsouphttpsrc.c:
Don't throw an error when soup completes a msg with status
'cancelled', as that indicates we cancelled a request while
shutting down or seeking, and it's not an error.
Fixes: #540300 again.

15 years agoconfigure.ac: 0.10.8.4 pre-release
Jan Schmidt [Mon, 28 Jul 2008 20:17:46 +0000 (20:17 +0000)]
configure.ac: 0.10.8.4 pre-release

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

15 years agogst/qtdemux/qtdemux.c: Fix segment-stop regression.
Edward Hervey [Fri, 25 Jul 2008 14:50:03 +0000 (14:50 +0000)]
gst/qtdemux/qtdemux.c: Fix segment-stop regression.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_activate_segment):
Fix segment-stop regression.
Add documentation regarding segments in quicktime files by Wim Taymans.
Fixes #544509

15 years agoconfigure.ac: 0.10.8.3 pre-release
Jan Schmidt [Thu, 24 Jul 2008 23:55:58 +0000 (23:55 +0000)]
configure.ac: 0.10.8.3 pre-release

Original commit message from CVS:
* configure.ac:
0.10.8.3 pre-release
* po/LINGUAS:
* po/pt_BR.po:
Add pt_BR translation

16 years agogst/goom/: Fix build with MSVC: include glib.h to define inline appropriately, use...
Michael Smith [Wed, 23 Jul 2008 22:01:20 +0000 (22:01 +0000)]
gst/goom/: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed.

Original commit message from CVS:
* gst/goom/convolve_fx.c:
* gst/goom/filters.c:
* gst/goom/goom_config.h:
* gst/goom/goom_core.c:
* gst/goom/goom_tools.h:
Fix build with MSVC: include glib.h to define inline appropriately,
use header guards where needed.
* gst/udp/gstudpnetutils.c:
* gst/udp/gstudpsrc.c:
Fix build with MSVC: use WSA* constants/functions where appropriate, use
g_snprintf rather than snprintf.
Fixes #544433.

16 years agogst/debug/gsttaginject.*: Sent tags in _transform_ip() instead of _start(). Fixes...
Stefan Kost [Tue, 22 Jul 2008 06:32:03 +0000 (06:32 +0000)]
gst/debug/gsttaginject.*: Sent tags in _transform_ip() instead of _start(). Fixes #543404 partially.

Original commit message from CVS:
* gst/debug/gsttaginject.c:
* gst/debug/gsttaginject.h:
Sent tags in _transform_ip() instead of _start(). Fixes #543404
partially.

16 years agoconfigure.ac: 0.10.8.2 pre-release
Jan Schmidt [Sat, 19 Jul 2008 14:12:39 +0000 (14:12 +0000)]
configure.ac: 0.10.8.2 pre-release

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

16 years agoext/Makefile.am: Finish hooking up pulseaudio plugin to the build.
Jan Schmidt [Sat, 19 Jul 2008 13:50:53 +0000 (13:50 +0000)]
ext/Makefile.am: Finish hooking up pulseaudio plugin to the build.

Original commit message from CVS:
* ext/Makefile.am:
Finish hooking up pulseaudio plugin to the build.
* ext/pulse/pulsemixerctrl.c:
Fix compilation error.

16 years agopo/: Add new lithunian translation, and add french to the LINGUAS file.
Jan Schmidt [Sat, 19 Jul 2008 13:23:29 +0000 (13:23 +0000)]
po/: Add new lithunian translation, and add french to the LINGUAS file.

Original commit message from CVS:
* po/LINGUAS:
* po/lt.po:
Add new lithunian translation, and add french to the LINGUAS
file.

16 years agoext/soup/gstsouphttpsrc.c: Fix Soup HTTP source seeking.
Wouter Cloetens [Sat, 19 Jul 2008 13:08:42 +0000 (13:08 +0000)]
ext/soup/gstsouphttpsrc.c: Fix Soup HTTP source seeking.

Original commit message from CVS:
* ext/soup/gstsouphttpsrc.c:
Fix Soup HTTP source seeking.
Patch By: Wouter Cloetens  <wouter at mind be>
Fixes: #540300
* tests/check/elements/.cvsignore:
Ignore new check programs.

16 years agoMove replaygain and interleave plugins from -bad.
Jan Schmidt [Sat, 19 Jul 2008 01:01:13 +0000 (01:01 +0000)]
Move replaygain and interleave plugins from -bad.

Original commit message from CVS:
* configure.ac:
* 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:
* docs/plugins/gst-plugins-good-plugins.prerequisites:
* docs/plugins/inspect/plugin-interleave.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* tests/check/Makefile.am:
Move replaygain and interleave plugins from -bad.
Fixes: #543406
Fixes: #536228

16 years agogst/qtdemux/qtdemux.c: Revert ISO base media spec based pixel-aspect-ratio calculation.
Mark Nauwelaerts [Fri, 18 Jul 2008 20:03:07 +0000 (20:03 +0000)]
gst/qtdemux/qtdemux.c: Revert ISO base media spec based pixel-aspect-ratio calculation.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream),
(qtdemux_parse_trak):
Revert ISO base media spec based pixel-aspect-ratio calculation.
Fixes #543300.

16 years agosys/osxvideo/osxvideosink.m: Fix minor build issues on macosx.
Edward Hervey [Thu, 17 Jul 2008 16:42:53 +0000 (16:42 +0000)]
sys/osxvideo/osxvideosink.m: Fix minor build issues on macosx.

Original commit message from CVS:
* sys/osxvideo/osxvideosink.m:
Fix minor build issues on macosx.
Fixes #543054

16 years agoOnly use -Wno-attributes (which is there to work around a bug in the taglib 1.5 heade...
Tim-Philipp Müller [Thu, 17 Jul 2008 14:40:51 +0000 (14:40 +0000)]
Only use -Wno-attributes (which is there to work around a bug in the taglib 1.5 headers) if the c++ compiler actually...

Original commit message from CVS:
* configure.ac::
* ext/taglib/Makefile.am::
Only use -Wno-attributes (which is there to work around a
bug in the taglib 1.5 headers) if the c++ compiler actually
supports it (#543255).

16 years agosys/v4l2/gstv4l2src.c: Avoid compiler warning by initialising variable to NULL (...
Benoit Fouet [Thu, 17 Jul 2008 13:54:38 +0000 (13:54 +0000)]
sys/v4l2/gstv4l2src.c: Avoid compiler warning by initialising variable to NULL (#543259).

Original commit message from CVS:
Patch by: Benoit Fouet <benoit.fouet purplelabs com>
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_negotiate):
Avoid compiler warning by initialising variable to NULL (#543259).

16 years agogst/debug/gsttaginject.c: Don't pass NULL taglists to gst_tag_list_is_empty().
Sebastian Dröge [Mon, 14 Jul 2008 17:17:47 +0000 (17:17 +0000)]
gst/debug/gsttaginject.c: Don't pass NULL taglists to gst_tag_list_is_empty().

Original commit message from CVS:
* gst/debug/gsttaginject.c: (gst_tag_inject_start):
Don't pass NULL taglists to gst_tag_list_is_empty().

16 years agotests/check/elements/: Don't use declarations after statements.
Sebastian Dröge [Mon, 14 Jul 2008 17:15:42 +0000 (17:15 +0000)]
tests/check/elements/: Don't use declarations after statements.

Original commit message from CVS:
* tests/check/elements/cmmldec.c: (GST_START_TEST):
* tests/check/elements/rtp-payloading.c: (rtp_pipeline_create),
(rtp_pipeline_run):
* tests/check/elements/souphttpsrc.c: (souphttpsrc_suite):
Don't use declarations after statements.

16 years agoext/jpeg/gstjpegdec.c: Align documentation with reality.
Mark Nauwelaerts [Mon, 14 Jul 2008 16:28:25 +0000 (16:28 +0000)]
ext/jpeg/gstjpegdec.c: Align documentation with reality.

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c:
Align documentation with reality.

16 years agogst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define...
Sebastian Dröge [Mon, 14 Jul 2008 13:11:14 +0000 (13:11 +0000)]
gst/udp/gstudpnetutils.c: EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the old value (1) if it's n...

Original commit message from CVS:
* gst/udp/gstudpnetutils.c:
EAI_ADDRFAMILY was obsoleted in BSD at some point. Define it to the
old value (1) if it's not defined which should not cause any problems
as we're using it internal only anyway.

16 years agogst/avi/gstavidemux.c: Fix build of avidemux on big endian architectures.
Alessandro Decina [Mon, 14 Jul 2008 13:02:48 +0000 (13:02 +0000)]
gst/avi/gstavidemux.c: Fix build of avidemux on big endian architectures.

Original commit message from CVS:
Patch by: Alessandro Decina <alessandro at nnva dot org>
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp):
Fix build of avidemux on big endian architectures.

16 years agogst/qtdemux/qtdemux.c: Correctly distinguish 8bit vs 16bit raw audio. Fixes #542410.
Thiago Sousa Santos [Thu, 10 Jul 2008 20:47:56 +0000 (20:47 +0000)]
gst/qtdemux/qtdemux.c: Correctly distinguish 8bit vs 16bit raw audio.  Fixes #542410.

Original commit message from CVS:
Patch by: Thiago Sousa Santos <thiagoss at lcc dot ufcg dot edu dot br>
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Correctly distinguish 8bit vs 16bit raw audio.  Fixes #542410.

16 years agogst/qtdemux/qtdemux.c: Set pixel-aspect-ratio in caps using display width and height...
Mark Nauwelaerts [Tue, 8 Jul 2008 21:05:18 +0000 (21:05 +0000)]
gst/qtdemux/qtdemux.c: Set pixel-aspect-ratio in caps using display width and height provided in track.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream),
(qtdemux_parse_trak):
Set pixel-aspect-ratio in caps using display width and height
provided in track.

16 years agoconfigure.ac: Don't include ERROR_CFLAGS in GST_CXXFLAGS as it might include flags...
Sebastian Dröge [Tue, 8 Jul 2008 13:59:51 +0000 (13:59 +0000)]
configure.ac: Don't include ERROR_CFLAGS in GST_CXXFLAGS as it might include flags that are invalid for C++. Fixes bu...

Original commit message from CVS:
* configure.ac:
Don't include ERROR_CFLAGS in GST_CXXFLAGS as it might include
flags that are invalid for C++. Fixes bug #516509.

16 years agoDon't use declarations after statements and variable length arrays.
Sebastian Dröge [Tue, 8 Jul 2008 12:51:34 +0000 (12:51 +0000)]
Don't use declarations after statements and variable length arrays.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_uri_set_uri):
* ext/speex/gstspeexenc.c: (gst_speex_enc_sink_getcaps):
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_fixate):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format):
* tests/examples/equalizer/demo.c: (message_handler):
* tests/examples/spectrum/demo-audiotest.c: (message_handler):
* tests/examples/spectrum/demo-osssrc.c: (message_handler):
Don't use declarations after statements and variable length arrays.

16 years agosys/v4l2/v4l2src_calls.c: Try progressive video if interlaced fails. Fixes bug #54195...
Daniel Drake [Mon, 7 Jul 2008 21:28:58 +0000 (21:28 +0000)]
sys/v4l2/v4l2src_calls.c: Try progressive video if interlaced fails. Fixes bug #541956 and the usage of v4l2src on OLPC.

Original commit message from CVS:
Patch by: Daniel Drake <dsd at gentoo dot org>
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_capture),
(gst_v4l2src_get_nearest_size):
Try progressive video if interlaced fails. Fixes bug #541956
and the usage of v4l2src on OLPC.

16 years agogst/rtp/gstrtpspeexdepay.*: Revert last change: Only the jitterbuffer is able to...
Sebastian Dröge [Mon, 7 Jul 2008 15:34:12 +0000 (15:34 +0000)]
gst/rtp/gstrtpspeexdepay.*: Revert last change: Only the jitterbuffer is able to convert RTP to

Original commit message from CVS:
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init),
(gst_rtp_speex_depay_process):
* gst/rtp/gstrtpspeexdepay.h:
Revert last change: Only the jitterbuffer is able to convert RTP to
Gstreamer timestamps and normal (de)payloaders should simply copy it.
Reopens bug #541787.

16 years agogst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi().
Stefan Kost [Mon, 7 Jul 2008 10:30:51 +0000 (10:30 +0000)]
gst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi().

Original commit message from CVS:
* gst/rtp/gstrtpvrawdepay.c:
Include stdlib.h for atoi().
* gst/rtsp/gstrtspsrc.c:
Use floating point math for latencies < 0 sec in log output.

16 years agogst/rtp/gstrtpspeexdepay.*: Take timestamp from the RTP packet as a first step to...
Tomasz Grobelny [Mon, 7 Jul 2008 10:16:07 +0000 (10:16 +0000)]
gst/rtp/gstrtpspeexdepay.*: Take timestamp from the RTP packet as a first step to fix problems with transmission over...

Original commit message from CVS:
Patch by: Tomasz Grobelny <tomasz at grobelny dot oswiecenia dot net>
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_init),
(gst_rtp_speex_depay_process):
* gst/rtp/gstrtpspeexdepay.h:
Take timestamp from the RTP packet as a first step to fix problems
with transmission over RTP when the network is not reliable.
Fixes bug #541787.

16 years agogst/udp/gstudpsrc.c: Fix parsing of udp:// URIs containing IPv6 addresses.
Tero Saarni [Sat, 5 Jul 2008 19:01:28 +0000 (19:01 +0000)]
gst/udp/gstudpsrc.c: Fix parsing of udp:// URIs containing IPv6 addresses.

Original commit message from CVS:
Patch by: Tero Saarni <tero dot saarni at gmail dot com>
* gst/udp/gstudpsrc.c: (gst_udpsrc_set_uri):
Fix parsing of udp:// URIs containing IPv6 addresses.
Fixes bug #541650.

16 years agoext/gdk_pixbuf/gstgdkpixbuf.c: Do not leak incoming buffers.
Mark Nauwelaerts [Fri, 4 Jul 2008 20:43:07 +0000 (20:43 +0000)]
ext/gdk_pixbuf/gstgdkpixbuf.c: Do not leak incoming buffers.

Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_chain):
Do not leak incoming buffers.

16 years agoconfigure.ac: Fix build of the RTP plugin with mingw32 by linking to ws2_32 for htons...
Damien Lespiau [Thu, 3 Jul 2008 19:27:53 +0000 (19:27 +0000)]
configure.ac: Fix build of the RTP plugin with mingw32 by linking to ws2_32 for htons() and htonl(). Fixes bug #541412.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Fix build of the RTP plugin with mingw32 by linking to ws2_32
for htons() and htonl(). Fixes bug #541412.

16 years agogst/matroska/matroska-demux.c: Handle position and duration query in DEFAULT format...
Sebastian Dröge [Wed, 2 Jul 2008 09:51:16 +0000 (09:51 +0000)]
gst/matroska/matroska-demux.c: Handle position and duration query in DEFAULT format if the pad's track has a default ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
(gst_matroska_demux_add_stream), (gst_matroska_demux_query),
(gst_matroska_demux_element_query),
(gst_matroska_demux_handle_src_query),
(gst_matroska_demux_handle_seek_event):
Handle position and duration query in DEFAULT format if the
pad's track has a default frame duration set.
Fix seeking now that the segment's duration doesn't contain the
(possibly wrong or inaccurate) duration of the Matroska file.

16 years agogst/matroska/ebml-read.c: Use NAN constant instead of 0.0/0.0 if possible. NAN is...
Sebastian Dröge [Wed, 2 Jul 2008 09:04:50 +0000 (09:04 +0000)]
gst/matroska/ebml-read.c: Use NAN constant instead of 0.0/0.0 if possible. NAN is defined in math.h except on MSVC wh...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (_ext2dbl):
Use NAN constant instead of 0.0/0.0 if possible. NAN is defined
in math.h except on MSVC where it is defined in xmath.h.
Fixes compilation with MSVC.

16 years agogst/matroska/matroska-demux.*: Don't set the segment duration to the duration from...
Sebastian Dröge [Wed, 2 Jul 2008 08:57:04 +0000 (08:57 +0000)]
gst/matroska/matroska-demux.*: Don't set the segment duration to the duration from the Matroska header as this value ...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_handle_src_query),
(gst_matroska_demux_parse_info),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-demux.h:
Don't set the segment duration to the duration from the Matroska
header as this value could be wrong and is just informational.

16 years agogst/matroska/matroska-demux.c: If no Tracks element is found until the first Cluster...
Sebastian Dröge [Wed, 2 Jul 2008 08:47:00 +0000 (08:47 +0000)]
gst/matroska/matroska-demux.c: If no Tracks element is found until the first Cluster is found search it and error out...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_loop_stream_parse_id):
If no Tracks element is found until the first Cluster is found
search it and error out if none is found in the complete file.

16 years agogst/matroska/matroska-demux.c: Resync non-subtitle tracks too if a too large gap...
Sebastian Dröge [Wed, 2 Jul 2008 08:14:35 +0000 (08:14 +0000)]
gst/matroska/matroska-demux.c: Resync non-subtitle tracks too if a too large gap compared to other tracks is detected.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_sync_streams):
Resync non-subtitle tracks too if a too large gap compared to other
tracks is detected.

16 years agogst/rtp/: Add raw video pay and depayloaders, see RFC4175.
Wim Taymans [Tue, 1 Jul 2008 13:28:02 +0000 (13:28 +0000)]
gst/rtp/: Add raw video pay and depayloaders, see RFC4175.

Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpvrawdepay.c: (gst_rtp_vraw_depay_base_init),
(gst_rtp_vraw_depay_class_init), (gst_rtp_vraw_depay_init),
(gst_rtp_vraw_depay_setcaps), (gst_rtp_vraw_depay_process),
(gst_rtp_vraw_depay_change_state),
(gst_rtp_vraw_depay_plugin_init):
* gst/rtp/gstrtpvrawdepay.h:
* gst/rtp/gstrtpvrawpay.c: (gst_rtp_vraw_pay_get_type),
(gst_rtp_vraw_pay_base_init), (gst_rtp_vraw_pay_class_init),
(gst_rtp_vraw_pay_init), (gst_rtp_vraw_pay_finalize),
(gst_rtp_vraw_pay_setcaps), (gst_rtp_vraw_pay_handle_buffer),
(gst_rtp_vraw_pay_plugin_init):
* gst/rtp/gstrtpvrawpay.h:
Add raw video pay and depayloaders, see RFC4175.

16 years agoext/libpng/gstpngdec.c: Don't return GST_FLOW_ERROR when buffer_alloc fails - return...
Jan Schmidt [Mon, 30 Jun 2008 22:53:39 +0000 (22:53 +0000)]
ext/libpng/gstpngdec.c: Don't return GST_FLOW_ERROR when buffer_alloc fails - return whatever it returned.

Original commit message from CVS:
* ext/libpng/gstpngdec.c:
Don't return GST_FLOW_ERROR when buffer_alloc fails - return
whatever it returned.

16 years agogst/avi/avi-ids.h: Add vprp chunk related structures.
Mark Nauwelaerts [Sun, 29 Jun 2008 19:52:51 +0000 (19:52 +0000)]
gst/avi/avi-ids.h: Add vprp chunk related structures.

Original commit message from CVS:
* gst/avi/avi-ids.h:
Add vprp chunk related structures.
* gst/avi/gstavidemux.c: (gst_avi_demux_riff_parse_vprp),
(gst_avi_demux_parse_stream):
Parse optional vprp chunk and add calculated pixel-aspect-ratio
to caps.  Fixes #539482.
* gst/avi/gstavimux.h:
* gst/avi/gstavimux.c: (gst_avi_mux_pad_reset),
(gst_avi_mux_vidsink_set_caps), (gst_avi_mux_riff_get_avi_header):
Add a vprp chunk if non-trival pixel-aspect-ratio provided in caps.

16 years agotests/check/elements/avimux.c: Adjust avimux unit test according to increased streamh...
Mark Nauwelaerts [Sat, 28 Jun 2008 19:31:46 +0000 (19:31 +0000)]
tests/check/elements/avimux.c: Adjust avimux unit test according to increased streamheader size.

Original commit message from CVS:
* tests/check/elements/avimux.c: (check_avimux_pad):
Adjust avimux unit test according to increased streamheader size.

16 years agogst/qtdemux/qtdemux.c: Add Dirac stream type
David Schleef [Fri, 27 Jun 2008 18:11:01 +0000 (18:11 +0000)]
gst/qtdemux/qtdemux.c: Add Dirac stream type

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: Add Dirac stream type

16 years agogst/avi/gstavimux.*: Add 8 bytes to current streamheader to make for a complete one...
Mark Nauwelaerts [Fri, 27 Jun 2008 15:25:00 +0000 (15:25 +0000)]
gst/avi/gstavimux.*: Add 8 bytes to current streamheader to make for a complete one and to make more players happy.  ...

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_riff_get_avi_header):
* gst/avi/gstavimux.h:
Add 8 bytes to current streamheader to make for a complete one
and to make more players happy.  Fixes #519460.

16 years agosys/v4l2/v4l2_calls.c: Don't include unused gstv4l2xoverlay.h. Fixes build in case...
Tim-Philipp Müller [Thu, 26 Jun 2008 16:36:47 +0000 (16:36 +0000)]
sys/v4l2/v4l2_calls.c: Don't include unused gstv4l2xoverlay.h. Fixes build in case where X11 headers are not installed.

Original commit message from CVS:
* sys/v4l2/v4l2_calls.c::
Don't include unused gstv4l2xoverlay.h. Fixes build
in case where X11 headers are not installed.

16 years agoext/dv/gstdv.c: Fix compilation.
Wim Taymans [Thu, 26 Jun 2008 10:07:46 +0000 (10:07 +0000)]
ext/dv/gstdv.c: Fix compilation.

Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
Fix compilation.

16 years agoext/dv/gstdv.c: Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest
Edward Hervey [Thu, 26 Jun 2008 09:37:23 +0000 (09:37 +0000)]
ext/dv/gstdv.c: Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest

Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
Marking rank of dvdec as GST_RANK_MARGINAL since it's the slowest
DV decoder available.
Fixes #532393

16 years agogst/udp/gstudpsrc.c: Call getsockname() after the call to bind() to get updated value...
Sebastian Dröge [Wed, 25 Jun 2008 08:12:18 +0000 (08:12 +0000)]
gst/udp/gstudpsrc.c: Call getsockname() after the call to bind() to get updated values for the port, etc. This fixes ...

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
Call getsockname() after the call to bind() to get updated values
for the port, etc. This fixes the usage of udpsrc on anonymous
binding and it's usage by rtspsrc. Fixes bugs #539372, #539548.
Thanks to Aurelien Grimaud for pointing out the obvious fix.

16 years agotests/check/pipelines/wavpack.c: Remove workaround for a bug in identity that is...
Sebastian Dröge [Wed, 25 Jun 2008 07:57:26 +0000 (07:57 +0000)]
tests/check/pipelines/wavpack.c: Remove workaround for a bug in identity that is fixed in 0.10.20.

Original commit message from CVS:
* tests/check/pipelines/wavpack.c: (bus_handler):
Remove workaround for a bug in identity that is fixed in 0.10.20.

16 years agoext/soup/gstsouphttpsrc.c: Fix HTTP auth support with user/password passed via the...
Jason Donenfeld [Wed, 25 Jun 2008 06:36:58 +0000 (06:36 +0000)]
ext/soup/gstsouphttpsrc.c: Fix HTTP auth support with user/password passed via the URI.

Original commit message from CVS:
Patch by: Jason Donenfeld <BugZilla at zx2c4 dot com>
* ext/soup/gstsouphttpsrc.c: (gst_soup_http_src_got_headers_cb):
Fix HTTP auth support with user/password passed via the URI.
Fixes bug #540067.

16 years agoconfigure.ac: Depend on released versions of core and -base.
Tim-Philipp Müller [Tue, 24 Jun 2008 15:42:33 +0000 (15:42 +0000)]
configure.ac: Depend on released versions of core and -base.

Original commit message from CVS:
* configure.ac:
Depend on released versions of core and -base.

16 years agogst/matroska/matroska-demux.c: Fix buggy format strings in macros. (makes it build...
Julien Moutte [Mon, 23 Jun 2008 16:13:40 +0000 (16:13 +0000)]
gst/matroska/matroska-demux.c: Fix buggy format strings in macros. (makes it build on OS X again...)

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

* gst/matroska/matroska-demux.c:
(gst_matroska_demux_read_track_encoding),
(gst_matroska_demux_parse_blockgroup_or_simpleblock): Fix buggy
format strings in macros. (makes it build on OS X again...)

16 years agogst/: Added debug.
Thomas Vander Stichele [Fri, 20 Jun 2008 16:24:11 +0000 (16:24 +0000)]
gst/: Added debug.

Original commit message from CVS:
* gst/rtp/gstrtptheorapay.c:
* gst/udp/gstmultiudpsink.c:
Added debug.

16 years agoswitch v4l2src from experimental to normal build. Fixes #536831
Christian Schaller [Fri, 20 Jun 2008 15:21:59 +0000 (15:21 +0000)]
switch v4l2src from experimental to normal build. Fixes #536831

Original commit message from CVS:
switch v4l2src from experimental to normal build. Fixes #536831

16 years agogst/rtp/gstrtpg726pay.c: Remove unused variable so that we can compile again.
Wim Taymans [Thu, 19 Jun 2008 11:24:54 +0000 (11:24 +0000)]
gst/rtp/gstrtpg726pay.c: Remove unused variable so that we can compile again.

Original commit message from CVS:
* gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_setcaps):
Remove unused variable so that we can compile again.

16 years agogst/rtp/gstrtpg726pay.c: No need to check for audio/G723 and audio/32KADPCM here...
Peter Kjellerstedt [Thu, 19 Jun 2008 11:06:29 +0000 (11:06 +0000)]
gst/rtp/gstrtpg726pay.c: No need to check for audio/G723 and audio/32KADPCM here as they are no longer supported.

Original commit message from CVS:
* gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_setcaps):
No need to check for audio/G723 and audio/32KADPCM here as they are
no longer supported.

16 years agoext/wavpack/gstwavpackparse.c: Use G_GINT64_CONSTANT, this fixes the duration query...
Sebastian Dröge [Thu, 19 Jun 2008 10:58:57 +0000 (10:58 +0000)]
ext/wavpack/gstwavpackparse.c: Use G_GINT64_CONSTANT, this fixes the duration query on files without known length.

Original commit message from CVS:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_src_query), (gst_wavpack_parse_create_src_pad):
Use G_GINT64_CONSTANT, this fixes the duration query on files without
known length.

16 years agogst/matroska/: Fix demuxing of WavPack files. Muxing is still broken.
Sebastian Dröge [Thu, 19 Jun 2008 10:48:57 +0000 (10:48 +0000)]
gst/matroska/: Fix demuxing of WavPack files. Muxing is still broken.

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_add_wvpk_header),
(gst_matroska_demux_audio_caps):
* gst/matroska/matroska-ids.h:
Fix demuxing of WavPack files. Muxing is still broken.

16 years agogst/matroska/: Add a "vfunc" to the track context for postprocessing frames and conve...
Sebastian Dröge [Thu, 19 Jun 2008 09:12:55 +0000 (09:12 +0000)]
gst/matroska/: Add a "vfunc" to the track context for postprocessing frames and convert the wavpack and subtitle post...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_track_free),
(gst_matroska_demux_add_mpeg_seq_header),
(gst_matroska_demux_add_wvpk_header),
(gst_matroska_demux_check_subtitle_buffer),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps),
(gst_matroska_demux_subtitle_caps):
* gst/matroska/matroska-ids.h:
Add a "vfunc" to the track context for postprocessing frames and
convert the wavpack and subtitle postprocessing to this vfunc.
Copy buffer flags in those functions to the new buffers too.
Parse CodecState elements of Blocks.
Add a postprocessing function for MPEG video that adds the sequence
header from the codec private data or codec state to the frames if
it's not already there.

16 years agogst/matroska/matroska-demux.c: If a gap of more than 1/2 second is found in one strea...
Sebastian Dröge [Thu, 19 Jun 2008 08:22:16 +0000 (08:22 +0000)]
gst/matroska/matroska-demux.c: If a gap of more than 1/2 second is found in one stream send a

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
If a gap of more than 1/2 second is found in one stream send a
NEWSEGMENT event to not stall the pipeline if the gap is too large.
This also fixes Matroska files where the first buffer doesn't start
at timestamp 0. Fixes bug #429322.
The duration of a block is the default duration multiplied with the
number of laces. Every lace is one frame and the default duration
is the duration of one frame. This fixes playback of files that use
lacing for some tracks.

16 years agogst/matroska/matroska-demux.c: Update FIXME/TODOs and only ignore EOS at the central...
Sebastian Dröge [Wed, 18 Jun 2008 20:09:28 +0000 (20:09 +0000)]
gst/matroska/matroska-demux.c: Update FIXME/TODOs and only ignore EOS at the central, important place instead of seve...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents_seekentry):
Update FIXME/TODOs and only ignore EOS at the central, important place
instead of several places.

16 years agogst/rtp/gstrtpg726pay.c: Fix caps, See #538891.
Wim Taymans [Wed, 18 Jun 2008 16:55:05 +0000 (16:55 +0000)]
gst/rtp/gstrtpg726pay.c: Fix caps, See #538891.

Original commit message from CVS:
* gst/rtp/gstrtpg726pay.c:
Fix caps, See #538891.

16 years agogst/matroska/matroska-demux.c: Improve debug output everywhere and fix the EOS logic.
Sebastian Dröge [Wed, 18 Jun 2008 10:28:20 +0000 (10:28 +0000)]
gst/matroska/matroska-demux.c: Improve debug output everywhere and fix the EOS logic.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_stream_from_num),
(gst_matroska_demux_encoding_cmp),
(gst_matroska_demux_encoding_order_unique),
(gst_matroska_demux_read_track_encoding),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_tracknumber_unique),
(gst_matroska_demux_add_stream), (gst_matroska_demux_init_stream),
(gst_matroska_demux_parse_tracks),
(gst_matroska_demux_parse_index_cuetrack),
(gst_matroska_demux_parse_index_pointentry),
(gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_metadata_id_simple_tag),
(gst_matroska_demux_parse_metadata_id_tag),
(gst_matroska_demux_parse_metadata),
(gst_matroska_demux_parse_attached_file),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_chapters),
(gst_matroska_demux_sync_streams), (gst_matroska_decode_buffer),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_parse_cluster),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_parse_contents),
(gst_matroska_demux_loop_stream_parse_id),
(gst_matroska_demux_loop):
Improve debug output everywhere and fix the EOS logic.
Check the values of the ContentEncoding elements more strictly and
don't use tracks for which it's invalid.
Check that the track number is unique for this stream.
Check that seek positions are below G_MAXINT64 as our seeks are
int64-based and overflows will fail badly.
After seeks also don't push SimpleBlocks until the first one
containing a keyframe is found. Before this was done only for normal
Blocks.
Update some FIXME/TODOs.
* gst/matroska/ebml-read.c: (gst_ebml_read_peek_bytes),
(gst_ebml_read_utf8), (gst_ebml_read_header):
Improve debug output.
* gst/matroska/matroska-ids.c:
(gst_matroska_track_init_video_context):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska-mux.c:
(gst_matroska_mux_video_pad_setcaps):
Remove eye mode and don't parse it anymore. We can't use that
information in GStreamer yet so it's useless.

16 years agogst/rtp/: Added G726 pay/depayloaders. Fixes #538891.
mersad [Wed, 18 Jun 2008 10:12:57 +0000 (10:12 +0000)]
gst/rtp/: Added G726 pay/depayloaders. Fixes #538891.

Original commit message from CVS:
Patch by: mersad <mersad at axis dot com>
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpg726depay.c: (gst_rtp_g726_depay_base_init),
(gst_rtp_g726_depay_class_init), (gst_rtp_g726_depay_init),
(gst_rtp_g726_depay_setcaps), (gst_rtp_g726_depay_process),
(gst_rtp_g726_depay_plugin_init):
* gst/rtp/gstrtpg726depay.h:
* gst/rtp/gstrtpg726pay.c: (gst_rtp_g726_pay_base_init),
(gst_rtp_g726_pay_class_init), (gst_rtp_g726_pay_init),
(gst_rtp_g726_pay_setcaps), (gst_rtp_g726_pay_plugin_init):
* gst/rtp/gstrtpg726pay.h:
Added G726 pay/depayloaders. Fixes #538891.

16 years agogst/rtsp/URLS: Some more urls.
Wim Taymans [Tue, 17 Jun 2008 10:14:47 +0000 (10:14 +0000)]
gst/rtsp/URLS: Some more urls.

Original commit message from CVS:
* gst/rtsp/URLS:
Some more urls.
* gst/smpte/barboxwipes.c:
Add a comment
* tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh:
Fix typo, add audioresample to the pipeline.

16 years agoext/libmng/: Somewhat port mngenc and mngdec to 0.10. Does not work yet and has many...
Wim Taymans [Tue, 17 Jun 2008 10:05:55 +0000 (10:05 +0000)]
ext/libmng/: Somewhat port mngenc and mngdec to 0.10. Does not work yet and has many bits ifdeffed out still.

Original commit message from CVS:
* ext/libmng/Makefile.am:
* ext/libmng/gstmng.c: (plugin_init):
* ext/libmng/gstmngdec.c: (gst_mng_dec_base_init),
(gst_mng_dec_class_init), (gst_mng_dec_sink_setcaps),
(gst_mng_dec_init), (gst_mng_dec_src_getcaps), (gst_mng_dec_loop),
(gst_mng_dec_get_property), (gst_mng_dec_set_property),
(mngdec_error), (mngdec_openstream), (mngdec_closestream),
(gst_mng_dec_sink_event), (mngdec_readdata), (mngdec_settimer),
(mngdec_processheader), (mngdec_getcanvasline), (mngdec_refresh),
(gst_mng_dec_change_state):
* ext/libmng/gstmngdec.h:
* ext/libmng/gstmngenc.c: (gst_mng_enc_base_init),
(gst_mng_enc_class_init), (gst_mng_enc_sink_setcaps),
(gst_mng_enc_init), (gst_mng_enc_chain),
(gst_mng_enc_get_property), (gst_mng_enc_set_property):
* ext/libmng/gstmngenc.h:
Somewhat port mngenc and mngdec to 0.10. Does not work yet and has many
bits ifdeffed out still.

16 years agogst/matroska/matroska-demux.c: When comparing index elements with the same time compa...
Sebastian Dröge [Mon, 16 Jun 2008 11:34:54 +0000 (11:34 +0000)]
gst/matroska/matroska-demux.c: When comparing index elements with the same time compare their block number.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_index_compare):
When comparing index elements with the same time compare their
block number.

16 years agogst/matroska/matroska-demux.c: (gst_matroska_demux_parse_attached_file)
Tim-Philipp Müller [Mon, 16 Jun 2008 11:31:06 +0000 (11:31 +0000)]
gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_attached_file)

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_attached_file)
Init variable to NULL to avoid compiler warning.

16 years agogst/matroska/: Parse Attachments and post them as GST_TAG_IMAGE if we detect it as...
Sebastian Dröge [Mon, 16 Jun 2008 10:59:39 +0000 (10:59 +0000)]
gst/matroska/: Parse Attachments and post them as GST_TAG_IMAGE if we detect it as image and otherwise as GST_TAG_ATT...

Original commit message from CVS:
* gst/matroska/Makefile.am:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_parse_attached_file),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-demux.h:
* gst/matroska/matroska-ids.c: (gst_matroska_register_tags):
* gst/matroska/matroska-ids.h:
* gst/matroska/matroska.c: (plugin_init):
Parse Attachments and post them as GST_TAG_IMAGE if we detect
it as image and otherwise as GST_TAG_ATTACHMENT. Include filename
and description of the attachments in the caps. Fixes bug #537622.

16 years agoext/speex/gstspeexenc.c: Add mode property.
Wim Taymans [Mon, 16 Jun 2008 10:09:03 +0000 (10:09 +0000)]
ext/speex/gstspeexenc.c: Add mode property.

Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speex_enc_mode_get_type),
(gst_speex_enc_class_init), (gst_speex_enc_sink_getcaps),
(gst_speex_enc_get_latency), (gst_speex_enc_get_query_types),
(gst_speex_enc_src_query), (gst_speex_enc_init),
(gst_speex_enc_setup), (gst_speex_enc_push_buffer),
(gst_speex_enc_chain), (gst_speex_enc_get_property),
(gst_speex_enc_set_property):
Add mode property.
Some cleanups, add more debug info.
Add latency query.

16 years agogst/matroska/ebml-read.c: Return GST_FLOW_UNEXPECTED instead of GST_FLOW_ERROR on...
Sebastian Dröge [Mon, 16 Jun 2008 09:54:27 +0000 (09:54 +0000)]
gst/matroska/ebml-read.c: Return GST_FLOW_UNEXPECTED instead of GST_FLOW_ERROR on short reads.

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_peek_bytes):
Return GST_FLOW_UNEXPECTED instead of GST_FLOW_ERROR on short reads.
If we get less bytes than requested we can't do anything except doing
our EOS logic.

16 years agogst/matroska/: Use a GArray for storing the Cue (i.e. seek) information, store the...
Sebastian Dröge [Sun, 15 Jun 2008 19:09:54 +0000 (19:09 +0000)]
gst/matroska/: Use a GArray for storing the Cue (i.e. seek) information, store the CueTrackPositions for every track,...

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroskademux_do_index_seek),
(gst_matroska_demux_parse_index_cuetrack),
(gst_matroska_demux_parse_index_pointentry),
(gst_matroska_index_compare), (gst_matroska_demux_parse_index),
(gst_matroska_demux_parse_metadata):
* gst/matroska/matroska-demux.h:
* gst/matroska/matroska-ids.h:
Use a GArray for storing the Cue (i.e. seek) information, store
the CueTrackPositions for every track, store the block number
and optimize searching in the array by sorting it after the last
element was added.
Fix a small memory leak when trying to parse a tags element that was
already parsed.

16 years agogst/matroska/matroska-mux.*: Don't write another SeekHead which indexes all Clusters...
Sebastian Dröge [Sun, 15 Jun 2008 15:29:29 +0000 (15:29 +0000)]
gst/matroska/matroska-mux.*: Don't write another SeekHead which indexes all Clusters to the end of the file. This isn...

Original commit message from CVS:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_reset),
(gst_matroska_mux_start), (gst_matroska_mux_finish),
(gst_matroska_mux_write_data):
* gst/matroska/matroska-mux.h:
Don't write another SeekHead which indexes all Clusters to the end of
the file. This isn't useful for anything and just increases filesize.

16 years agogst/matroska/ebml-read.c: Prevent unaligned memory access when reading floats.
Sebastian Dröge [Sun, 15 Jun 2008 15:01:30 +0000 (15:01 +0000)]
gst/matroska/ebml-read.c: Prevent unaligned memory access when reading floats.

Original commit message from CVS:
* gst/matroska/ebml-read.c: (_ext2dbl), (gst_ebml_read_float):
Prevent unaligned memory access when reading floats.

16 years agogst/matroska/: Make sure that every Tags element is only parsed once and it's contain...
Sebastian Dröge [Sun, 15 Jun 2008 14:08:41 +0000 (14:08 +0000)]
gst/matroska/: Make sure that every Tags element is only parsed once and it's containing tags are only posted once.

Original commit message from CVS:
* gst/matroska/ebml-read.c:
* gst/matroska/ebml-read.h:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_parse_metadata):
* gst/matroska/matroska-demux.h:
Make sure that every Tags element is only parsed once and it's
containing tags are only posted once.

16 years agogst/matroska/: Handle EBML elements like Void or CRC32 in the EbmlRead base class...
Sebastian Dröge [Sun, 15 Jun 2008 09:43:25 +0000 (09:43 +0000)]
gst/matroska/: Handle EBML elements like Void or CRC32 in the EbmlRead base class already. They're not useful in the ...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_peek_id),
(gst_ebml_read_header):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_parse_tracks),
(gst_matroska_demux_parse_index_cuetrack),
(gst_matroska_demux_parse_index_pointentry),
(gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_metadata_id_simple_tag),
(gst_matroska_demux_parse_metadata_id_tag),
(gst_matroska_demux_parse_metadata),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_chapters),
(gst_matroska_demux_parse_blockgroup_or_simpleblock),
(gst_matroska_demux_parse_cluster),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_parse_contents),
(gst_matroska_demux_loop_stream_parse_id):
Handle EBML elements like Void or CRC32 in the EbmlRead base class
already. They're not useful in the matroska parser and only cause
additional code.

16 years agogst/matroska/: Reverse the level list as we usually are only interested in the first...
Sebastian Dröge [Sat, 14 Jun 2008 15:51:25 +0000 (15:51 +0000)]
gst/matroska/: Reverse the level list as we usually are only interested in the first element or want to add a new fir...

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_level_free),
(gst_ebml_finalize), (gst_ebml_read_change_state),
(gst_ebml_read_element_level_up), (gst_ebml_read_master):
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents_seekentry):
Reverse the level list as we usually are only interested in the
first element or want to add a new first element. Having the
first element stored at the end and calling g_list_last() and
g_list_append() is more expensive.
Also use GSlice for allocating the GstEbmlLevel structs.

16 years agogst/debug/gsttaginject.c: Don't unref NULL taglist in finalize. Don't use c++ style...
Tim-Philipp Müller [Fri, 13 Jun 2008 21:13:46 +0000 (21:13 +0000)]
gst/debug/gsttaginject.c: Don't unref NULL taglist in finalize. Don't use c++ style comments.

Original commit message from CVS:
* gst/debug/gsttaginject.c: (gst_tag_inject_finalize),
(gst_tag_inject_class_init), (gst_tag_inject_init):
Don't unref NULL taglist in finalize. Don't use c++ style
comments.

16 years agogst/matroska/: Use gst_value_serialize() and gst_value_deserialize() for transforming...
Sebastian Dröge [Fri, 13 Jun 2008 19:14:41 +0000 (19:14 +0000)]
gst/matroska/: Use gst_value_serialize() and gst_value_deserialize() for transforming tags from some GType to a strin...

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_metadata_id_simple_tag):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_write_simple_tag),
(gst_matroska_mux_write_data):
Use gst_value_serialize() and gst_value_deserialize() for transforming
tags from some GType to a string and the other way around. The default
transformations in GLib don't include transformations from string to
number types.

16 years agogst/matroska/matroska-demux.*: Only parse Tracks, SeekHead and SegmentInfo elements...
Sebastian Dröge [Fri, 13 Jun 2008 19:07:03 +0000 (19:07 +0000)]
gst/matroska/matroska-demux.*: Only parse Tracks, SeekHead and SegmentInfo elements once but allow

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset),
(gst_matroska_demux_parse_tracks),
(gst_matroska_demux_parse_index), (gst_matroska_demux_parse_info),
(gst_matroska_demux_parse_attachments),
(gst_matroska_demux_parse_chapters),
(gst_matroska_demux_parse_contents_seekentry),
(gst_matroska_demux_loop_stream_parse_id):
* gst/matroska/matroska-demux.h:
Only parse Tracks, SeekHead and SegmentInfo elements once but allow
Tags multiple times. The first ones can appear more than once but must
contain the same content as the first for backup purposes so we ignore
all but the first one. Tags can appear multiple times with different
content.
Jump to all elements except Clusters that are available from a
SeekHead to make it more likely to have all required informations
before getting to the first Clusters.
Add dummy functions for parsing Attachments and Chapters.

16 years agogst/replaygain/: More doc updates.
Stefan Kost [Fri, 13 Jun 2008 14:33:52 +0000 (14:33 +0000)]
gst/replaygain/: More doc updates.

Original commit message from CVS:
* gst/replaygain/gstrganalysis.c:
* gst/replaygain/gstrglimiter.c:
* gst/replaygain/gstrgvolume.c:
More doc updates.

16 years agodocs/plugins/: docs/plugins/inspect/plugin-mythtv.xml
Stefan Kost [Fri, 13 Jun 2008 11:59:23 +0000 (11:59 +0000)]
docs/plugins/: docs/plugins/inspect/plugin-mythtv.xml

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-alsaspdif.xml:
* docs/plugins/inspect/plugin-amrwb.xml:
* docs/plugins/inspect/plugin-app.xml:
* docs/plugins/inspect/plugin-bayer.xml:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdaudio.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-dvb.xml:
* docs/plugins/inspect/plugin-dvdspu.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-fbdevsink.xml:
* docs/plugins/inspect/plugin-festival.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-flvdemux.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstinterlace.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-interleave.xml:
* docs/plugins/inspect/plugin-jack.xml:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-mpeg4videoparse.xml:
* docs/plugins/inspect/plugin-mpegtsparse.xml:
* docs/plugins/inspect/plugin-mpegvideoparse.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-mve.xml:
* docs/plugins/inspect/plugin-mythtv.xml
* docs/plugins/inspect/plugin-nas.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-nuvdemux.xml:
* docs/plugins/inspect/plugin-oss4.xml
* docs/plugins/inspect/plugin-rawparse.xml:
* docs/plugins/inspect/plugin-real.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-rfbsrc.xml:
* docs/plugins/inspect/plugin-sdl.xml:
* docs/plugins/inspect/plugin-sdp.xml:
* docs/plugins/inspect/plugin-selector.xml:
* docs/plugins/inspect/plugin-sndfile.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-speexresample.xml:
* docs/plugins/inspect/plugin-stereo.xml:
* docs/plugins/inspect/plugin-subenc.xml
* docs/plugins/inspect/plugin-timidity.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-vcdsrc.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-vmnc.xml:
* docs/plugins/inspect/plugin-wildmidi.xml:
* docs/plugins/inspect/plugin-x264.xml:
* docs/plugins/inspect/plugin-xvid.xml:
* docs/plugins/inspect/plugin-y4menc.xml:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/dc1394/gstdc1394.c:
* ext/directfb/dfbvideosink.c:
* ext/ivorbis/vorbisdec.c:
* ext/jack/gstjackaudiosink.c:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/mplex/gstmplex.cc:
* ext/musicbrainz/gsttrm.c:
* ext/mythtv/gstmythtvsrc.c:
* ext/theora/theoradec.c:
* ext/timidity/gsttimidity.c:
* ext/timidity/gstwildmidi.c:
* gst-libs/gst/app/gstappsink.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/dvdspu/gstdvdspu.c:
* gst/festival/gstfestival.c:
* gst/freeze/gstfreeze.c:
* gst/interleave/deinterleave.c:
* gst/interleave/interleave.c:
* gst/modplug/gstmodplug.cc:
* gst/nuvdemux/gstnuvdemux.c:
Add missing elements to docs. Fix doc-markup: use convinience syntax
for examples (produces valid docbook), add several refsec2 when we
have several titles. Fix some types.

16 years agogst/udp/gstudpsrc.*: Add property to control automatic join/leave of multicast groups.
Wim Taymans [Fri, 13 Jun 2008 11:54:05 +0000 (11:54 +0000)]
gst/udp/gstudpsrc.*: Add property to control automatic join/leave of multicast groups.

Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init), (gst_udpsrc_init),
(gst_udpsrc_create), (gst_udpsrc_set_property),
(gst_udpsrc_get_property), (gst_udpsrc_start), (gst_udpsrc_stop):
* gst/udp/gstudpsrc.h:
Add property to control automatic join/leave of multicast groups.
Add G_LIKELY.
Remove setting caps on buffers explicitly, basesrc does that for us now.
Improve debug info.
Convert some non-fatal error into warnings.
Use g_ntohs for better portability.
Leave multicast groups when stopping.
When using external sockets, use getsockname() on them to fill up the
addr structure before calling methods that use the structure.
Should all fix #536903.
API: GstUDPSrc::auto-multicast property

16 years agogst/udp/gstudpnetutils.c: Use g_ntohl for better portability.
Wim Taymans [Fri, 13 Jun 2008 11:47:28 +0000 (11:47 +0000)]
gst/udp/gstudpnetutils.c: Use g_ntohl for better portability.

Original commit message from CVS:
* gst/udp/gstudpnetutils.c: (gst_udp_is_multicast):
Use g_ntohl for better portability.

16 years agogst/udp/gstmultiudpsink.c: Fix a typo and do some small cleanups.
Wim Taymans [Fri, 13 Jun 2008 11:45:54 +0000 (11:45 +0000)]
gst/udp/gstmultiudpsink.c: Fix a typo and do some small cleanups.

Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send),
(gst_multiudpsink_remove):
Fix a typo and do some small cleanups.

16 years agogst/rtp/gstrtptheoradepay.c: Make the delivery-method mandatory on the caps and only...
Olivier Crete [Fri, 13 Jun 2008 09:39:41 +0000 (09:39 +0000)]
gst/rtp/gstrtptheoradepay.c: Make the delivery-method mandatory on the caps and only accept inline for now.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_setcaps):
Make the delivery-method mandatory on the caps and only accept inline
for now.
Reverse strcmp checks for delivery-method.
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps):
Make delivery method optional when parsing caps and note this in the
caps.
Reverse strcmp checks for delivery-method.
* gst/rtp/gstrtpvorbispay.c:
Update a comment to note that the delivery-method is optional,
Fixes #537675.

16 years agogst/rtsp/gstrtspsrc.c: Set udpsrc for receiving data from multicast groups to PAUSED...
Wim Taymans [Thu, 12 Jun 2008 17:30:06 +0000 (17:30 +0000)]
gst/rtsp/gstrtspsrc.c: Set udpsrc for receiving data from multicast groups to PAUSED instead of leaving them in READY...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_mcast):
Set udpsrc for receiving data from multicast groups to PAUSED instead of
leaving them in READY. Fixes #537832.

16 years agogst/avi/gstavimux.c: Simplify code. gst_tag_list_merge() does the NULL checks. Add...
Stefan Kost [Thu, 12 Jun 2008 12:14:38 +0000 (12:14 +0000)]
gst/avi/gstavimux.c: Simplify code. gst_tag_list_merge() does the NULL checks. Add a FIXME for a random constant in t...

Original commit message from CVS:
* gst/avi/gstavimux.c:
Simplify code. gst_tag_list_merge() does the NULL checks. Add a FIXME
for a random constant in tagmuxing code.