platform/upstream/gst-plugins-good.git
17 years agosys/: Wait until the window is created before using it; guard unistd.h includes with...
Sergey Scobich [Wed, 1 Nov 2006 10:19:18 +0000 (10:19 +0000)]
sys/: Wait until the window is created before using it; guard unistd.h includes with HAVE_UNISTD_H. (#366523)

Original commit message from CVS:
Patch by: Sergey Scobich  <sergey dot scobich at gmail com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdrawsink_window_thread),
(gst_directdrawsink_create_default_window):
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.c:
Wait until the window is created before using it; guard unistd.h
includes with HAVE_UNISTD_H. (#366523)
* win32/vs8/libgstdirectdraw.vcproj:
* win32/vs8/libgstdirectsound.vcproj:
Update project files.

17 years agogst/rtp/: Fix and activate ILBC pay and depayloaders. Fixes #368162.
Wim Taymans [Tue, 31 Oct 2006 10:52:31 +0000 (10:52 +0000)]
gst/rtp/: Fix and activate ILBC pay and depayloaders. Fixes #368162.

Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_init),
(gst_rtpilbcpay_setcaps):
Fix and activate ILBC pay and depayloaders. Fixes #368162.

17 years agogst/qtdemux/qtdemux.c: Handle unbounded length streams a bit better. Fixes #367696.
Wim Taymans [Tue, 31 Oct 2006 10:31:18 +0000 (10:31 +0000)]
gst/qtdemux/qtdemux.c: Handle unbounded length streams a bit better. Fixes #367696.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_get_duration),
(gst_qtdemux_handle_src_query), (qtdemux_parse_tree),
(qtdemux_parse_trak):
Handle unbounded length streams a bit better. Fixes #367696.

17 years agoext/speex/gstspeexdec.c: Some small cleanups, use _scale.
Wim Taymans [Tue, 31 Oct 2006 09:44:39 +0000 (09:44 +0000)]
ext/speex/gstspeexdec.c: Some small cleanups, use _scale.

Original commit message from CVS:
* ext/speex/gstspeexdec.c: (speex_dec_convert),
(speex_dec_sink_event), (speex_dec_chain_parse_header):
Some small cleanups, use _scale.

17 years agogst/avi/gstavidemux.c: Use higher precision scale function.
Wim Taymans [Tue, 31 Oct 2006 09:29:36 +0000 (09:29 +0000)]
gst/avi/gstavidemux.c: Use higher precision scale function.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query):
Use higher precision scale function.

17 years agogst/matroska/matroska-demux.c: Fix several issues with encoded/compressed/encrypted...
Michal Benes [Mon, 30 Oct 2006 16:18:18 +0000 (16:18 +0000)]
gst/matroska/matroska-demux.c: Fix several issues with encoded/compressed/encrypted/signed tracks; also, remove super...

Original commit message from CVS:
Patch by: Michal Benes  <michal dot benes at itonis tv>
* gst/matroska/matroska-demux.c: (gst_matroska_demux_encoding_cmp),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_decode_buffer):
Fix several issues with encoded/compressed/encrypted/signed tracks;
also, remove superfluous newline characters from some debug
statements. (#366155)

17 years agoext/jpeg/: Various cleanups, capsnego and leak fixes.
Wim Taymans [Mon, 30 Oct 2006 09:24:53 +0000 (09:24 +0000)]
ext/jpeg/: Various cleanups, capsnego and leak fixes.

Original commit message from CVS:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_getcaps):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_class_init),
(gst_smokedec_init), (gst_smokedec_finalize), (gst_smokedec_chain),
(gst_smokedec_change_state):
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init),
(gst_smokeenc_init), (gst_smokeenc_finalize),
(gst_smokeenc_getcaps), (gst_smokeenc_setcaps),
(gst_smokeenc_resync), (gst_smokeenc_chain),
(gst_smokeenc_set_property), (gst_smokeenc_get_property),
(gst_smokeenc_change_state):
Various cleanups, capsnego and leak fixes.

17 years agogst/videomixer/videomixer.c: Fix videomixer so that it can handle any combination...
Mark Nauwelaerts [Mon, 30 Oct 2006 08:17:08 +0000 (08:17 +0000)]
gst/videomixer/videomixer.c: Fix videomixer so that it can handle any combination of framerates.

Original commit message from CVS:
Patch by: Mark Nauwelaerts  <manauw at skynet be>
* gst/videomixer/videomixer.c: (gst_videomixer_update_queues):
Fix videomixer so that it can handle any combination of framerates.
Fixes #367221.

17 years agogst/avi/gstavidemux.c: Fix position query for audio. also fixes timestamps in streami...
Wim Taymans [Sat, 28 Oct 2006 16:37:20 +0000 (16:37 +0000)]
gst/avi/gstavidemux.c: Fix position query for audio. also fixes timestamps in streaming mode and bug #364958.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query),
(gst_avi_demux_parse_file_header),
(gst_avi_demux_stream_init_push), (gst_avi_demux_parse_stream),
(gst_avi_demux_stream_header_push), (gst_avi_demux_stream_data),
(gst_avi_demux_chain):
Fix position query for audio. also fixes timestamps in streaming
mode and bug #364958.
Small cleanups.

17 years agoext/libpng/gstpngenc.*: Fix strides. Fixes #364856.
Wim Taymans [Fri, 27 Oct 2006 17:10:42 +0000 (17:10 +0000)]
ext/libpng/gstpngenc.*: Fix strides. Fixes #364856.

Original commit message from CVS:
* ext/libpng/gstpngenc.c: (gst_pngenc_setcaps), (gst_pngenc_chain):
* ext/libpng/gstpngenc.h:
Fix strides. Fixes #364856.
Cleanup capsnego.
Set caps on outgoing buffers.

17 years agogst/rtp/: Add static payload numbers in addition to the dynamic ones.
Ville Syrjala [Wed, 18 Oct 2006 17:06:21 +0000 (17:06 +0000)]
gst/rtp/: Add static payload numbers in addition to the dynamic ones.

Original commit message from CVS:
Patch by: Ville Syrjala <ville dot syrjala at movial dot fi>
* gst/rtp/gstrtpgsmpay.c:
* gst/rtp/gstrtph263pay.c:
* gst/rtp/gstrtpmpapay.c:
* gst/rtp/gstrtppcmapay.c: (gst_rtp_pcma_pay_flush),
(gst_rtp_pcma_pay_handle_buffer):
* gst/rtp/gstrtppcmupay.c: (gst_rtp_pcmu_pay_flush):
Add static payload numbers in addition to the dynamic ones.
Fixes #361639.

17 years agogst/rtsp/: Reuse already existing enum for lower transport.
Wim Taymans [Wed, 18 Oct 2006 16:18:55 +0000 (16:18 +0000)]
gst/rtsp/: Reuse already existing enum for lower transport.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_lower_trans_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_loop_udp), (gst_rtspsrc_open),
(gst_rtspsrc_uri_get_protocols), (gst_rtspsrc_uri_set_uri):
* gst/rtsp/rtspconnection.c: (rtsp_connection_create):
* gst/rtsp/rtspdefs.h:
* gst/rtsp/rtspurl.c: (rtsp_url_parse):
* gst/rtsp/rtspurl.h:
Reuse already existing enum for lower transport.
Add rtspt and rtspu protocols.
Send redirect to rtspt when udp times out.

17 years agogst/wavparse/gstwavparse.c: Fix seeking some more, mostly for speed changes.
Wim Taymans [Wed, 18 Oct 2006 14:00:44 +0000 (14:00 +0000)]
gst/wavparse/gstwavparse.c: Fix seeking some more, mostly for speed changes.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_perform_seek),
(gst_wavparse_stream_data):
Fix seeking some more, mostly for speed changes.

17 years agoChangeLog surgery: fix Fredrik's e-mail address
Tim-Philipp Müller [Wed, 18 Oct 2006 11:28:05 +0000 (11:28 +0000)]
ChangeLog surgery: fix Fredrik's e-mail address

Original commit message from CVS:
ChangeLog surgery: fix Fredrik's e-mail address

17 years agosys/v4l2/gstv4l2tuner.*: Fix _set_channel(): remove useless g_object_notify() for...
Fredrik Persson [Wed, 18 Oct 2006 11:04:09 +0000 (11:04 +0000)]
sys/v4l2/gstv4l2tuner.*: Fix _set_channel(): remove useless g_object_notify() for "channel" property that doesn't exi...

Original commit message from CVS:
Patch by: Fredrik Persson  <frepe at broadband net>
* sys/v4l2/gstv4l2tuner.c:
* sys/v4l2/gstv4l2tuner.h:
Fix _set_channel(): remove useless g_object_notify() for "channel"
property that doesn't exist any longer and therefore now also
useless redirect (#338818).

17 years agoActivate pads before adding them to running element.
Tim-Philipp Müller [Tue, 17 Oct 2006 15:16:47 +0000 (15:16 +0000)]
Activate pads before adding them to running element.

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_set_wp_config):
* ext/wavpack/gstwavpackparse.c:
(gst_wavpack_parse_create_src_pad):
* gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_create_pads):
* tests/check/elements/wavpackparse.c: (wavpackparse_found_pad):
Activate pads before adding them to running element.

17 years agogst/qtdemux/qtdemux.c: Make compile with Forte compiler, mostly don't do pointer...
Josep Torra Valles [Tue, 17 Oct 2006 14:57:17 +0000 (14:57 +0000)]
gst/qtdemux/qtdemux.c: Make compile with Forte compiler, mostly don't do pointer arithmetic with void pointers (#3626...

Original commit message from CVS:
Patch by: Josep Torra Valles  <josep at fluendo com>
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(next_entry_size), (qtdemux_inflate), (qtdemux_parse_moov),
(qtdemux_parse_tree), (qtdemux_parse_trak), (qtdemux_tag_add_str),
(qtdemux_tag_add_num), (qtdemux_tag_add_date),
(qtdemux_tag_add_gnre):
Make compile with Forte compiler, mostly don't do pointer arithmetic
with void pointers (#362626).

17 years agosys/oss/gstosssink.c: Some drivers do not support unsetting the non-blocking flag...
Wim Taymans [Tue, 17 Oct 2006 14:37:49 +0000 (14:37 +0000)]
sys/oss/gstosssink.c: Some drivers do not support unsetting the non-blocking flag once the device is opened. In those...

Original commit message from CVS:
* sys/oss/gstosssink.c: (gst_oss_sink_prepare):
Some drivers do not support unsetting the non-blocking flag once the
device is opened. In those cases, close/open the device in
non-blocking mode. Fixes #362673.

17 years agosys/v4l2/: dear stefan, framespersecond is not frameperiod, reverting but adding...
Stefan Kost [Tue, 17 Oct 2006 13:44:14 +0000 (13:44 +0000)]
sys/v4l2/: dear stefan, framespersecond is not frameperiod, reverting but adding comment

Original commit message from CVS:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_fps),
(gst_v4l2src_get_fps):
dear stefan, framespersecond is not frameperiod, reverting but adding
comment

17 years agosys/v4l2/: Numerator is numerator and denominator is denominator. Say that aloud...
Stefan Kost [Tue, 17 Oct 2006 11:28:50 +0000 (11:28 +0000)]
sys/v4l2/: Numerator is numerator and denominator is denominator. Say that aloud 5 times and retry after next beer.

Original commit message from CVS:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_set_fps),
(gst_v4l2src_get_fps):
Numerator is numerator and denominator is denominator. Say that aloud
5 times and retry after next beer.

17 years agogst/qtdemux/qtdemux.*: Avoid void pointer usage, better use guint8 * instead.
Tim-Philipp Müller [Tue, 17 Oct 2006 10:59:55 +0000 (10:59 +0000)]
gst/qtdemux/qtdemux.*: Avoid void pointer usage, better use guint8 * instead.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_moov), (qtdemux_parse),
(qtdemux_node_dump_foreach), (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
(qtdemux_dump_hdlr), (qtdemux_dump_vmhd), (qtdemux_dump_dref),
(qtdemux_dump_stsd), (qtdemux_dump_stts), (qtdemux_dump_stss),
(qtdemux_dump_stsc), (qtdemux_dump_stsz), (qtdemux_dump_stco),
(qtdemux_dump_co64), (qtdemux_dump_dcom), (qtdemux_dump_cmvd),
(qtdemux_dump_unknown), (qtdemux_tree_get_child_by_type),
(qtdemux_tree_get_sibling_by_type):
* gst/qtdemux/qtdemux.h:
Avoid void pointer usage, better use guint8 * instead.

17 years agoFix a bunch of problems discovered by the Forte compiler, mostly type mixups and...
Josep Torra Valles [Mon, 16 Oct 2006 18:22:47 +0000 (18:22 +0000)]
Fix a bunch of problems discovered by the Forte compiler, mostly type mixups and pointer arithmetics with void pointe...

Original commit message from CVS:
Patch by: Josep Torra Valles  <josep at fluendo com>
* ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_transform):
* ext/esd/esdsink.c: (gst_esdsink_write):
* ext/flac/gstflacdec.c: (gst_flac_dec_length),
(gst_flac_dec_read_seekable), (gst_flac_dec_chain),
(gst_flac_dec_send_newsegment):
* ext/flac/gstflacenc.c: (gst_flac_enc_seek_callback),
(gst_flac_enc_tell_callback):
* ext/jpeg/smokecodec.c: (find_best_size), (smokecodec_encode),
(smokecodec_parse_header), (smokecodec_decode):
* gst/avi/gstavimux.c: (gst_avi_mux_write_avix_index):
* gst/debug/efence.c: (gst_fenced_buffer_alloc):
* gst/goom/Makefile.am:
* gst/goom/gstgoom.c:
* gst/icydemux/gsticydemux.c: (gst_icydemux_typefind_or_forward):
* gst/rtsp/gstrtspsrc.c:
* gst/rtsp/rtspconnection.c: (rtsp_connection_read):
* gst/udp/gstudpsink.c:
* gst/udp/gstudpsrc.c:
* gst/wavparse/gstwavparse.c: (gst_wavparse_change_state):
* sys/sunaudio/gstsunaudiomixertrack.h:
Fix a bunch of problems discovered by the Forte compiler, mostly type
mixups and pointer arithmetics with void pointers. Fixes #362603.

17 years agoext/speex/: Miscellaneous clean-ups, among other things: speexenc => enc to enhance...
Tim-Philipp Müller [Thu, 12 Oct 2006 19:02:51 +0000 (19:02 +0000)]
ext/speex/: Miscellaneous clean-ups, among other things: speexenc => enc to enhance code readability; change speexenc...

Original commit message from CVS:
* ext/speex/gstspeex.c: (plugin_init):
* ext/speex/gstspeexenc.c: (gst_speex_enc_get_formats),
(gst_speex_enc_setup_interfaces), (gst_speex_enc_base_init),
(gst_speex_enc_class_init), (gst_speex_enc_finalize),
(gst_speex_enc_sink_setcaps), (gst_speex_enc_convert_src),
(gst_speex_enc_convert_sink), (gst_speex_enc_get_query_types),
(gst_speex_enc_src_query), (gst_speex_enc_sink_query),
(gst_speex_enc_init), (gst_speex_enc_create_metadata_buffer),
(gst_speex_enc_set_last_msg), (gst_speex_enc_setup),
(gst_speex_enc_buffer_from_data), (gst_speex_enc_push_buffer),
(gst_speex_enc_set_header_on_caps), (gst_speex_enc_sinkevent),
(gst_speex_enc_chain), (gst_speex_enc_get_property),
(gst_speex_enc_set_property), (gst_speex_enc_change_state):
* ext/speex/gstspeexenc.h:
Miscellaneous clean-ups, among other things: speexenc => enc to
enhance code readability; change speexenc => speex_enc; in chain
function unref input buffer in case of error; take reference in
event function; use boilerplate macro; use gst_pad_query_peer_*
convenience functions.

17 years agoext/speex/gstspeexenc.c: Fix some mem leaks.
Tim-Philipp Müller [Thu, 12 Oct 2006 18:35:10 +0000 (18:35 +0000)]
ext/speex/gstspeexenc.c: Fix some mem leaks.

Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speexenc_finalize),
(gst_speexenc_set_last_msg), (gst_speexenc_setup),
(gst_speexenc_set_header_on_caps):
Fix some mem leaks.

17 years agogst/rtsp/URLS: Added some other URL.
Wim Taymans [Wed, 11 Oct 2006 16:21:53 +0000 (16:21 +0000)]
gst/rtsp/URLS: Added some other URL.

Original commit message from CVS:
* gst/rtsp/URLS:
Added some other URL.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_loop_udp),
(gst_rtspsrc_handle_request), (gst_rtspsrc_send),
(gst_rtspsrc_open), (gst_rtspsrc_play),
(gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Work on fallback to TCP connection when the UDP socket times out.
Handler server requests, just reply with OK for now.
* gst/rtsp/rtspdefs.c: (rtsp_strresult):
* gst/rtsp/rtspdefs.h:
Added some more Real extension headers.
* gst/rtsp/rtspurl.c: (rtsp_url_parse):
Fix parsing of urls with a ':' that is not part of the hostname:port
part of the url.

17 years agogst/qtdemux/qtdemux.c: Add some fourcc for DV format.
Edward Hervey [Wed, 11 Oct 2006 13:49:26 +0000 (13:49 +0000)]
gst/qtdemux/qtdemux.c: Add some fourcc for DV format.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add some fourcc for DV format.

17 years agogst/: Activate pad before adding it to the already-running element.
Tim-Philipp Müller [Wed, 11 Oct 2006 13:24:42 +0000 (13:24 +0000)]
gst/: Activate pad before adding it to the already-running element.

Original commit message from CVS:
* gst/apetag/gsttagdemux.c: (gst_tag_demux_add_srcpad):
* gst/icydemux/gsticydemux.c: (gst_icydemux_add_srcpad):
* gst/id3demux/gstid3demux.c: (gst_id3demux_add_srcpad):
Activate pad before adding it to the already-running element.
* tests/check/elements/icydemux.c: (icydemux_found_pad):
Activate newly-created pad too.

17 years agogst/udp/gstudpsrc.c: Fix some leaks in caps and uris. Fixes #361252.
Sebastien Cote [Wed, 11 Oct 2006 08:34:14 +0000 (08:34 +0000)]
gst/udp/gstudpsrc.c: Fix some leaks in caps and uris. Fixes #361252.

Original commit message from CVS:
Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
(gst_udpsrc_finalize), (gst_udpsrc_create), (gst_udpsrc_set_uri),
(gst_udpsrc_start):
Fix some leaks in caps and uris. Fixes #361252.

17 years agogst/qtdemux/qtdemux.c: Printf format fixes.
Tim-Philipp Müller [Tue, 10 Oct 2006 18:54:05 +0000 (18:54 +0000)]
gst/qtdemux/qtdemux.c: Printf format fixes.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header):
Printf format fixes.
* sys/dvb/gstdvbsrc.c:
Use "_stdint.h".

17 years agogst/qtdemux/qtdemux.c: Reorganise some stuff.
Wim Taymans [Tue, 10 Oct 2006 09:57:19 +0000 (09:57 +0000)]
gst/qtdemux/qtdemux.c: Reorganise some stuff.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_push_event), (gst_qtdemux_do_seek),
(gst_qtdemux_change_state), (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_activate_segment),
(gst_qtdemux_loop_state_movie), (gst_qtdemux_loop),
(gst_qtdemux_post_buffering), (gst_qtdemux_chain),
(gst_qtdemux_add_stream), (qtdemux_process_redirects),
(qtdemux_parse_tree), (qtdemux_parse_trak):
Reorganise some stuff.
Parse RTSP redirection URLS.

17 years agogst/wavparse/Makefile.am: Fix copy'n'paste-o (spotted by Mark Nauwelaerts, #341489).
Tim-Philipp Müller [Tue, 10 Oct 2006 08:29:07 +0000 (08:29 +0000)]
gst/wavparse/Makefile.am: Fix copy'n'paste-o (spotted by Mark Nauwelaerts, #341489).

Original commit message from CVS:
* gst/wavparse/Makefile.am:
Fix copy'n'paste-o (spotted by Mark Nauwelaerts, #341489).

17 years agosys/v4l2/gstv4l2xoverlay.*: Fix build as per the patch in #338818 comment 36.
Jan Schmidt [Mon, 9 Oct 2006 07:01:19 +0000 (07:01 +0000)]
sys/v4l2/gstv4l2xoverlay.*: Fix build as per the patch in #338818 comment 36.

Original commit message from CVS:
* sys/v4l2/gstv4l2xoverlay.c:
* sys/v4l2/gstv4l2xoverlay.h:
Fix build as per the patch in #338818 comment 36.

17 years agoinspect updates
Thomas Vander Stichele [Sun, 8 Oct 2006 20:05:13 +0000 (20:05 +0000)]
inspect updates

Original commit message from CVS:
inspect updates

17 years agogst/rtsp/gstrtspsrc.c: Activate pads before adding them to the source.
Tim-Philipp Müller [Sat, 7 Oct 2006 21:15:40 +0000 (21:15 +0000)]
gst/rtsp/gstrtspsrc.c: Activate pads before adding them to the source.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_stream_configure_transport):
Activate pads before adding them to the source.

17 years agodocs/plugins/: Add/update docs stuff.
Tim-Philipp Müller [Sat, 7 Oct 2006 11:37:59 +0000 (11:37 +0000)]
docs/plugins/: Add/update docs stuff.

Original commit message from CVS:
* 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/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-swfdec.xml:
* docs/plugins/inspect/plugin-videocrop.xml:
* docs/plugins/inspect/plugin-wavpack.xml:
Add/update docs stuff.

17 years agoActivate pads before adding.
Wim Taymans [Fri, 6 Oct 2006 17:00:14 +0000 (17:00 +0000)]
Activate pads before adding.

Original commit message from CVS:
* ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads), (gst_dvdemux_chain):
* gst/auparse/gstauparse.c: (gst_au_parse_add_srcpad):
Activate pads before adding.

17 years agogst/multipart/multipartdemux.c: Activate pads before adding.
Wim Taymans [Fri, 6 Oct 2006 16:03:23 +0000 (16:03 +0000)]
gst/multipart/multipartdemux.c: Activate pads before adding.

Original commit message from CVS:
* gst/multipart/multipartdemux.c: (gst_multipart_demux_init),
(gst_multipart_find_pad_by_mime):
Activate pads before adding.
* gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_class_init):
BOILERPLATE sets parent_class for us.

17 years agoAdd ReplayGain analysis element (#357069).
René Stadler [Fri, 6 Oct 2006 15:56:01 +0000 (15:56 +0000)]
Add ReplayGain analysis element (#357069).

Original commit message from CVS:
Patch by: René Stadler  <mail at renestadler de>
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* gst/replaygain/Makefile.am:
* gst/replaygain/gstrganalysis.c: (gst_rg_analysis_base_init),
(gst_rg_analysis_class_init), (gst_rg_analysis_init),
(gst_rg_analysis_set_property), (gst_rg_analysis_get_property),
(gst_rg_analysis_start), (gst_rg_analysis_set_caps),
(gst_rg_analysis_transform_ip), (gst_rg_analysis_event),
(gst_rg_analysis_stop), (gst_rg_analysis_handle_tags),
(gst_rg_analysis_handle_eos), (gst_rg_analysis_track_result),
(gst_rg_analysis_album_result), (plugin_init):
* gst/replaygain/gstrganalysis.h:
* gst/replaygain/rganalysis.c: (yule_filter), (butter_filter),
(apply_filters), (reset_filters), (accumulator_add),
(accumulator_clear), (accumulator_result), (rg_analysis_new),
(rg_analysis_set_sample_rate), (rg_analysis_destroy),
(rg_analysis_analyze_mono_float),
(rg_analysis_analyze_stereo_float),
(rg_analysis_analyze_mono_int16),
(rg_analysis_analyze_stereo_int16), (rg_analysis_analyze),
(rg_analysis_track_result), (rg_analysis_album_result),
(rg_analysis_reset_album), (rg_analysis_reset):
* gst/replaygain/rganalysis.h:
Add ReplayGain analysis element (#357069).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/rganalysis.c: (get_expected_gain),
(setup_rganalysis), (cleanup_rganalysis), (set_playing_state),
(send_eos_event), (send_tag_event), (poll_eos), (poll_tags),
(fail_unless_track_gain), (fail_unless_track_peak),
(fail_unless_album_gain), (fail_unless_album_peak),
(fail_if_track_tags), (fail_if_album_tags),
(fail_unless_num_tracks), (test_buffer_const_float_mono),
(test_buffer_const_float_stereo), (test_buffer_const_int16_mono),
(test_buffer_const_int16_stereo), (test_buffer_square_float_mono),
(test_buffer_square_float_stereo), (test_buffer_square_int16_mono),
(test_buffer_square_int16_stereo), (push_buffer), (GST_START_TEST),
(rganalysis_suite), (main):
Unit tests for the new replaygain element.

17 years agoext/faad/gstfaad.c: Some cleanups.
Wim Taymans [Fri, 6 Oct 2006 15:49:39 +0000 (15:49 +0000)]
ext/faad/gstfaad.c: Some cleanups.

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_setcaps), (gst_faad_chain),
(gst_faad_close_decoder):
Some cleanups.
Added some more debugging.
Don't ever ignore unlinked, we're not a demuxer.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream):
Activate pad before adding it to the element.

17 years agogst/rtsp/gstrtspsrc.*: Rework how the transport string is constructed, try to share...
Wim Taymans [Fri, 6 Oct 2006 12:55:53 +0000 (12:55 +0000)]
gst/rtsp/gstrtspsrc.*: Rework how the transport string is constructed, try to share channels and udp ports.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type),
(gst_rtspsrc_class_init), (gst_rtspsrc_init),
(gst_rtspsrc_create_stream), (gst_rtspsrc_media_to_caps),
(gst_rtspsrc_alloc_udp_ports),
(gst_rtspsrc_stream_configure_transport), (find_stream_by_channel),
(gst_rtspsrc_push_event), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_create_transports_string),
(gst_rtspsrc_configure_transports), (gst_rtspsrc_open),
(gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Rework how the transport string is constructed, try to share channels
and udp ports.
Make most of the stuff less dependant on RTP as we are also going to use
it for RDT.
Add support for transport specific session managers.
* gst/rtsp/rtspconnection.c: (rtsp_connection_flush):
Implement _flush().
* gst/rtsp/rtspdefs.c: (rtsp_strresult):
* gst/rtsp/rtspdefs.h:
Add generic error return code.
* gst/rtsp/rtspext.h:
Add support for pluggable tranport strings.
* gst/rtsp/rtspextwms.c: (rtsp_ext_wms_before_send),
(rtsp_ext_wms_after_send), (rtsp_ext_wms_parse_sdp),
(rtsp_ext_wms_get_context):
Detect WMServer and activate the extension.
* gst/rtsp/rtsptransport.c: (rtsp_transport_get_mime),
(rtsp_transport_get_manager), (rtsp_transport_parse):
* gst/rtsp/rtsptransport.h:
Added methods to get mime/manager for certain transports.

17 years agogst/spectrum/gstspectrum.c: Fix mem leak, avoid unnecessary memcpy.
Tim-Philipp Müller [Fri, 6 Oct 2006 11:31:11 +0000 (11:31 +0000)]
gst/spectrum/gstspectrum.c: Fix mem leak, avoid unnecessary memcpy.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
Fix mem leak, avoid unnecessary memcpy.

17 years agogst/spectrum/gstspectrum.c: Removed cruft code that was just commented out. Removed...
Stefan Kost [Fri, 6 Oct 2006 02:29:35 +0000 (02:29 +0000)]
gst/spectrum/gstspectrum.c: Removed cruft code that was just commented out. Removed some obsolete debug logs statements.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_init),
(gst_spectrum_transform_ip):
Removed cruft code that was just commented out. Removed some obsolete
debug logs statements.

17 years agoAnother batch of printf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 18:14:46 +0000 (18:14 +0000)]
Another batch of printf format fixes.

Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_chain):
* ext/musicbrainz/gsttrm.c: (gst_trm_setcaps):
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_sink_set_caps):
* gst/qtdemux/qtdemux.c: (gst_qtdemux_chain), (qtdemux_parse),
(qtdemux_parse_trak):
* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
Another batch of printf format fixes.

17 years agoPrintf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 16:37:33 +0000 (16:37 +0000)]
Printf format fixes.

Original commit message from CVS:
* ext/cairo/gsttimeoverlay.c:
(gst_cairo_time_overlay_update_font_height):
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_transform_caps):
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_parse_image_data):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_chain):
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_chain):
* ext/libpng/gstpngdec.c: (user_endrow_callback):
* gst/auparse/gstauparse.c: (gst_au_parse_parse_header):
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_superindex),
(gst_avi_demux_parse_subindex), (gst_avi_demux_parse_stream),
(gst_avi_demux_stream_data):
* gst/cutter/gstcutter.c: (gst_cutter_chain):
* gst/debug/efence.c: (gst_efence_buffer_alloc),
(gst_fenced_buffer_copy):
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_start):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send),
(gst_rtspsrc_handle_message):
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_headers):
* sys/ximage/ximageutil.c: (ximageutil_xcontext_get):
Printf format fixes.

17 years agogst/videocrop/gstvideocrop.*: Handle packed YUV formats (UYVY, YUY2, YUYV) separately...
Tim-Philipp Müller [Wed, 4 Oct 2006 22:37:07 +0000 (22:37 +0000)]
gst/videocrop/gstvideocrop.*: Handle packed YUV formats (UYVY, YUY2, YUYV) separately; also, fix passthrough mode; la...

Original commit message from CVS:
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init),
(gst_video_crop_init),
(gst_video_crop_get_image_details_from_caps),
(gst_video_crop_transform_packed_complex),
(gst_video_crop_transform_packed_simple),
(gst_video_crop_transform), (gst_video_crop_transform_caps),
(gst_video_crop_set_caps),
(gst_videocrop_clear_negotiated_caps_locked),
(gst_video_crop_set_property):
* gst/videocrop/gstvideocrop.h:
Handle packed YUV formats (UYVY, YUY2, YUYV) separately; also, fix
passthrough mode; lastly, clear negotiated basetransform caps when
the cropping changes in order to force renegotiation.

17 years agotests/icles/: Visual test for videocrop, shows that packed yuv doesn't work right...
Tim-Philipp Müller [Wed, 4 Oct 2006 20:05:07 +0000 (20:05 +0000)]
tests/icles/: Visual test for videocrop, shows that packed yuv doesn't work right yet. --with-ffmpegcolorspace option...

Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/videocrop-test.c: (quit_mainloop), (tick_cb),
(test_with_caps), (video_crop_get_test_caps), (main):
Visual test for videocrop, shows that packed yuv doesn't work right
yet. --with-ffmpegcolorspace option doesn't work yet for unknown
reasons (another basetransform issue?)

17 years agogst/rtsp/Makefile.am: Dist new .h file too.
Wim Taymans [Wed, 4 Oct 2006 17:53:12 +0000 (17:53 +0000)]
gst/rtsp/Makefile.am: Dist new .h file too.

Original commit message from CVS:
* gst/rtsp/Makefile.am:
Dist new .h file too.

17 years agogst/rtsp/: Factor out extension in separate module.
Wim Taymans [Wed, 4 Oct 2006 17:24:40 +0000 (17:24 +0000)]
gst/rtsp/: Factor out extension in separate module.

Original commit message from CVS:
* gst/rtsp/Makefile.am:
* gst/rtsp/gstrtpdec.c: (gst_rtpdec_getcaps),
(gst_rtpdec_chain_rtp), (gst_rtpdec_chain_rtcp):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init),
(gst_rtspsrc_finalize), (gst_rtspsrc_create_stream),
(gst_rtspsrc_parse_rtpmap),
(gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_send),
(gst_rtspsrc_parse_methods), (gst_rtspsrc_open),
(gst_rtspsrc_play), (gst_rtspsrc_handle_message):
* gst/rtsp/gstrtspsrc.h:
* gst/rtsp/rtspdefs.c: (rtsp_strresult):
* gst/rtsp/rtspdefs.h:
* gst/rtsp/rtspext.h:
* gst/rtsp/rtspextwms.c: (rtsp_ext_wms_parse_sdp),
(rtsp_ext_wms_get_context):
* gst/rtsp/rtspextwms.h:
* gst/rtsp/rtsptransport.c: (rtsp_transport_init), (parse_mode),
(rtsp_transport_parse):
* gst/rtsp/rtsptransport.h:
Factor out extension in separate module.
Fix getcaps to filter against the padtemplate.
Use Content-Base if the server gives one.
Rework the transport parsing a bit for future extensions.
Added some Real Header field definitions.

17 years agodocs/plugins/: added v4l2 stubs
Thomas Vander Stichele [Wed, 4 Oct 2006 10:29:11 +0000 (10:29 +0000)]
docs/plugins/: added v4l2 stubs

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:
added v4l2 stubs
* gst-plugins-good.spec.in:
add v4l2

17 years agogst/apetag/gstapedemux.c: Extract disc/album/medium number and count and try harder...
Tim-Philipp Müller [Wed, 4 Oct 2006 10:24:49 +0000 (10:24 +0000)]
gst/apetag/gstapedemux.c: Extract disc/album/medium number and count and try harder to extract track number/count.

Original commit message from CVS:
* gst/apetag/gstapedemux.c: (ape_demux_parse_tags):
Extract disc/album/medium number and count and try harder
to extract track number/count.

17 years agomoap ignore
Thomas Vander Stichele [Tue, 3 Oct 2006 18:36:29 +0000 (18:36 +0000)]
moap ignore

Original commit message from CVS:
moap ignore

17 years agoadd icle for v4l2
Thomas Vander Stichele [Tue, 3 Oct 2006 18:35:34 +0000 (18:35 +0000)]
add icle for v4l2

Original commit message from CVS:
add icle for v4l2

17 years agoadd build stuff for v4l2, needs --enable-experimental until the last bits are resolved
Thomas Vander Stichele [Tue, 3 Oct 2006 18:15:58 +0000 (18:15 +0000)]
add build stuff for v4l2, needs --enable-experimental until the last bits are resolved

Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
add build stuff for v4l2, needs --enable-experimental until
the last bits are resolved

17 years agocomment out the notifies for removed properties
Thomas Vander Stichele [Tue, 3 Oct 2006 13:47:10 +0000 (13:47 +0000)]
comment out the notifies for removed properties

Original commit message from CVS:
comment out the notifies for removed properties

17 years agosys/v4l2/gstv4l2object.c: comment out the properties that are already part of the...
Thomas Vander Stichele [Tue, 3 Oct 2006 13:30:48 +0000 (13:30 +0000)]
sys/v4l2/gstv4l2object.c: comment out the properties that are already part of the tuner interface.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper):
comment out the properties that are already part of the tuner
interface.

17 years agosys/v4l2/gstv4l2src.c: Improve docs.
Zaheer Abbas Merali [Tue, 3 Oct 2006 13:18:59 +0000 (13:18 +0000)]
sys/v4l2/gstv4l2src.c: Improve docs.

Original commit message from CVS:
2006-10-03  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l2/gstv4l2src.c:
Improve docs.

17 years agostop removing gdkpixbuf plugin from package
Christian Schaller [Mon, 2 Oct 2006 16:14:06 +0000 (16:14 +0000)]
stop removing gdkpixbuf plugin from package

Original commit message from CVS:
stop removing gdkpixbuf plugin from package

17 years agotests/check/Makefile.am: Disable autodetect test temporarily, so that the build bots...
Tim-Philipp Müller [Fri, 29 Sep 2006 15:39:41 +0000 (15:39 +0000)]
tests/check/Makefile.am: Disable autodetect test temporarily, so that the build bots update -bad and the ranks of unr...

Original commit message from CVS:
* tests/check/Makefile.am:
Disable autodetect test temporarily, so that the build bots
update -bad and the ranks of unreliable video sinks in there.
* tests/check/elements/autodetect.c: (GST_START_TEST):
Skip test if no usable videosink is found.

17 years agogst/rtsp/URLS: Add some more URLs.
Wim Taymans [Fri, 29 Sep 2006 15:37:29 +0000 (15:37 +0000)]
gst/rtsp/URLS: Add some more URLs.

Original commit message from CVS:
* gst/rtsp/URLS:
Add some more URLs.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
(gst_rtspsrc_init), (gst_rtspsrc_finalize),
(gst_rtspsrc_set_property), (gst_rtspsrc_get_property),
(gst_rtspsrc_stream_setup_rtp), (gst_rtspsrc_loop_interleaved),
(gst_rtspsrc_loop_udp), (gst_rtspsrc_loop_send_cmd),
(gst_rtspsrc_loop), (gst_rtspsrc_send),
(gst_rtspsrc_parse_methods), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause),
(gst_rtspsrc_handle_message), (gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Add timeout property to control UDP timeouts.
Fix error messages.
Also start a loop function when operating in UDP mode so that we can
do some more stuff async.
Handle element messages from udpsrc to detect timeouts. If a timeout
happens we currently generate an error.
API: rtspsrc::timeout property.
* gst/udp/gstudpsrc.c: (gst_udpsrc_class_init),
(gst_udpsrc_create):
Really implement the timeout in microseconds and not milliseconds.

17 years agogst/udp/gstudpsrc.*: Added property to post a message on timeout.
Wim Taymans [Fri, 29 Sep 2006 11:09:40 +0000 (11:09 +0000)]
gst/udp/gstudpsrc.*: Added property to post a message on timeout.

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_unlock), (gst_udpsrc_stop):
* gst/udp/gstudpsrc.h:
Added property to post a message on timeout.
Updated docs.
When restarting the select, initialize the fdsets again.
Init control sockets so we don't accidentally close a random socket.
API: GstUDPSrc::timeout property

17 years agogst/rtsp/gstrtspsrc.c: Fix flag registration.
Wim Taymans [Fri, 29 Sep 2006 08:15:05 +0000 (08:15 +0000)]
gst/rtsp/gstrtspsrc.c: Fix flag registration.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type):
Fix flag registration.
* gst/rtsp/rtspconnection.c: (rtsp_connection_read):
Reading 0 also means 'no more commands'

17 years agogst/udp/gstudpsrc.c: Fix possible infinite loop when shutting down, a read can also...
Antoine Tremblay [Fri, 29 Sep 2006 08:09:24 +0000 (08:09 +0000)]
gst/udp/gstudpsrc.c: Fix possible infinite loop when shutting down, a read can also return 0 to indicate no more mess...

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/udp/gstudpsrc.c: (gst_udpsrc_create):
Fix possible infinite loop when shutting down, a read can also return
0 to indicate no more messages are available. Fixes #358156.

17 years agosys/v4l2/: Framerate can be 0/1 too.
Wim Taymans [Thu, 28 Sep 2006 17:08:47 +0000 (17:08 +0000)]
sys/v4l2/: Framerate can be 0/1 too.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_all_caps),
(gst_v4l2src_get_caps):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
Framerate can be 0/1 too.
Init framerate to 0/1 before querying it so that we can detect
devices that don't know about a framerate.
Add some more debugging info.

17 years agogst/qtdemux/qtdemux.c: Add support for 'yv12' fourcc.
Tim-Philipp Müller [Thu, 28 Sep 2006 14:31:41 +0000 (14:31 +0000)]
gst/qtdemux/qtdemux.c: Add support for 'yv12' fourcc.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add support for 'yv12' fourcc.

17 years agoRemoved set-undef-fps.
Edgard Lima [Wed, 27 Sep 2006 17:47:57 +0000 (17:47 +0000)]
Removed set-undef-fps.

Original commit message from CVS:
Removed set-undef-fps.

17 years agosys/v4l2/: Renamed some properties to match the tuner interface naming.
Wim Taymans [Wed, 27 Sep 2006 17:04:22 +0000 (17:04 +0000)]
sys/v4l2/: Renamed some properties to match the tuner interface naming.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_contains_channel),
(gst_v4l2_tuner_list_channels),
(gst_v4l2_tuner_set_channel_and_notify),
(gst_v4l2_tuner_get_channel), (gst_v4l2_tuner_contains_norm),
(gst_v4l2_tuner_list_norms), (gst_v4l2_tuner_set_norm_and_notify),
(gst_v4l2_tuner_get_norm):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_empty_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_get_fps):
Renamed some properties to match the tuner interface naming.

17 years agoSmall cleanups.
Wim Taymans [Wed, 27 Sep 2006 16:14:18 +0000 (16:14 +0000)]
Small cleanups.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_set_property_helper),
(gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_set_norm),
(gst_v4l2_get_frequency), (gst_v4l2_set_frequency),
(gst_v4l2_signal_strength), (gst_v4l2_get_attribute),
(gst_v4l2_set_attribute), (gst_v4l2_get_input),
(gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_grab_frame), (gst_v4l2src_get_capture),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_buffer_new):
* tests/icles/v4l2src-test.c: (my_bus_callback), (main):
Small cleanups.
Fix error messages.
Use locks when getting timestamps.
Fix leaks in test.
Add licensing header to tests.

17 years agoSome cleanups and comments.
Edgard Lima [Wed, 27 Sep 2006 15:14:07 +0000 (15:14 +0000)]
Some cleanups and comments.

Original commit message from CVS:
Some cleanups and comments.

17 years agoadd audiofx plugin
Christian Schaller [Wed, 27 Sep 2006 13:41:35 +0000 (13:41 +0000)]
add audiofx plugin

Original commit message from CVS:
add audiofx plugin

17 years agodocs/plugins/: Add v4l2 plugin to the docs.
Wim Taymans [Tue, 26 Sep 2006 14:17:54 +0000 (14:17 +0000)]
docs/plugins/: Add v4l2 plugin to the docs.

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:
Add v4l2 plugin to the docs.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2vidorient.c:
Fix docs.
Remove some more externs.

17 years agosys/v4l2/Makefile.am: Fix makefile, list libs in stack order.
Wim Taymans [Tue, 26 Sep 2006 13:18:06 +0000 (13:18 +0000)]
sys/v4l2/Makefile.am: Fix makefile, list libs in stack order.

Original commit message from CVS:
* sys/v4l2/Makefile.am:
Fix makefile, list libs in stack order.
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_device_get_type),
(gst_v4l2_object_install_properties_helper):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2vidorient.h:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.h:
Fix coding style:
- Remove extern from functions.
- Fix header indentation.
Fix Flags, add defaults for properties.
Remove unused enums.
Fix TOO_LAZY in error messages.

17 years agosys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for...
Wim Taymans [Tue, 26 Sep 2006 11:06:17 +0000 (11:06 +0000)]
sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity.

Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices),
(gst_v4l2_probe_needs_probe),
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_destroy), (gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults),
(gst_v4l2_object_start), (gst_v4l2_object_stop):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_init), (gst_v4l2src_dispose),
(gst_v4l2src_set_property), (gst_v4l2src_get_property),
(gst_v4l2src_fixate), (gst_v4l2src_get_caps),
(gst_v4l2src_set_caps), (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_open), (gst_v4l2_close), (gst_v4l2_get_norm),
(gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_queue_frame), (gst_v4l2src_grab_frame),
(gst_v4l2src_get_capture), (gst_v4l2src_set_capture),
(gst_v4l2src_capture_init), (gst_v4l2src_capture_start),
(gst_v4l2src_capture_stop), (gst_v4l2src_capture_deinit),
(gst_v4l2src_get_size_limits), (gst_v4l2src_set_fps),
(gst_v4l2src_get_fps), (gst_v4l2src_buffer_finalize),
(gst_v4l2src_buffer_new):
Fix pass at code cleanups, move errors cases out of the normal
flow for additional code clarity.

17 years agogst/autodetect/: Small cleanups. don't try to set "sync" property when it is not...
Wim Taymans [Mon, 25 Sep 2006 13:55:44 +0000 (13:55 +0000)]
gst/autodetect/: Small cleanups. don't try to set "sync" property when it is not available.

Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init), (gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_find_best):
* gst/autodetect/gstautovideosink.c: (gst_auto_video_sink_detect):
Small cleanups.
don't try to set "sync" property when it is not available.

17 years agogst/: Include stdlib.h in some more places, makes things compile with uClibc and...
Peter Kjellerstedt [Mon, 25 Sep 2006 11:47:42 +0000 (11:47 +0000)]
gst/: Include stdlib.h in some more places, makes things compile with uClibc and -Werror (#357592).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/alpha/gstalpha.c:
* gst/rtp/gstrtpamrdepay.c:
* gst/rtsp/gstrtspsrc.c:
* gst/udp/gstudpsrc.c:
* gst/videomixer/videomixer.c:
Include stdlib.h in some more places, makes things compile
with uClibc and -Werror (#357592).

17 years agoext/jpeg/gstjpegdec.c: our code should handle that fine. Some of the buttons on the...
Tim-Philipp Müller [Mon, 25 Sep 2006 09:15:10 +0000 (09:15 +0000)]
ext/jpeg/gstjpegdec.c: our code should handle that fine. Some of the buttons on the apple trailer site are apparently...

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c:
Set minimum height to 8 (from 16), our code should handle
that fine. Some of the buttons on the apple trailer site
are apparently only 15 pixels high (see #357470).

17 years agogst/rtsp/: Improve error reporting.
Wim Taymans [Sat, 23 Sep 2006 15:31:56 +0000 (15:31 +0000)]
gst/rtsp/: Improve error reporting.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_loop), (gst_rtspsrc_send),
(gst_rtspsrc_open):
* gst/rtsp/rtspconnection.c: (rtsp_connection_create),
(rtsp_connection_connect), (rtsp_connection_read), (read_body),
(rtsp_connection_receive):
* gst/rtsp/rtspdefs.c: (rtsp_strresult):
* gst/rtsp/rtspdefs.h:
Improve error reporting.

17 years agogst/rtp/: Fix klass typos.
Wim Taymans [Sat, 23 Sep 2006 15:30:40 +0000 (15:30 +0000)]
gst/rtp/: Fix klass typos.

Original commit message from CVS:
* gst/rtp/gstasteriskh263.c: (gst_asteriskh263_plugin_init):
* gst/rtp/gstrtpL16depay.c: (gst_rtp_L16depay_plugin_init):
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_plugin_init):
* gst/rtp/gstrtpdepay.c:
* gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_plugin_init):
* gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_plugin_init):
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_plugin_init):
* gst/rtp/gstrtpilbcdepay.c: (gst_rtp_ilbc_depay_plugin_init):
* gst/rtp/gstrtpmp2tdepay.c: (gst_rtp_mp2t_depay_setcaps),
(gst_rtp_mp2t_depay_plugin_init):
* gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_plugin_init):
* gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_plugin_init):
* gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_plugin_init):
* gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_plugin_init):
* gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_plugin_init):
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_plugin_init):
* gst/rtp/gstrtpsv3vdepay.c: (gst_rtp_sv3v_depay_plugin_init):
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_plugin_init):
Fix klass typos.
Mark RANK_MARGINAL, decodebin can handle the depayloaders fine.

17 years agoconfigure.ac: Need -base CVS for gst_base_rtp_depayload_push_ts().
Tim-Philipp Müller [Fri, 22 Sep 2006 17:53:48 +0000 (17:53 +0000)]
configure.ac: Need  -base CVS for gst_base_rtp_depayload_push_ts().

Original commit message from CVS:
* configure.ac:
Need  -base CVS for gst_base_rtp_depayload_push_ts().

17 years agogst/avi/gstavidemux.c: Don't check for a tag that is never there and check if we...
Wim Taymans [Fri, 22 Sep 2006 17:22:34 +0000 (17:22 +0000)]
gst/avi/gstavidemux.c: Don't check for a tag that is never there and check if we read the correct tag. Fixes seeking ...

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index):
Don't check for a tag that is never there and check if we read the
correct tag. Fixes seeking again.
We must post an error when all pads are unlinked.

17 years agogst/rtp/: More fixage, set endoder-params correctly in the payloader.
Wim Taymans [Fri, 22 Sep 2006 15:15:13 +0000 (15:15 +0000)]
gst/rtp/: More fixage, set endoder-params correctly in the payloader.

Original commit message from CVS:
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_process):
* gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_setcaps),
(gst_rtp_vorbis_pay_reset_packet),
(gst_rtp_vorbis_pay_init_packet),
(gst_rtp_vorbis_pay_flush_packet), (gst_rtp_vorbis_pay_parse_id),
(gst_rtp_vorbis_pay_handle_buffer):
More fixage, set endoder-params correctly in the payloader.

17 years agogst/autodetect/: Make static pad templates static to appease valgrind's leak detector.
Tim-Philipp Müller [Fri, 22 Sep 2006 12:12:10 +0000 (12:12 +0000)]
gst/autodetect/: Make static pad templates static to appease valgrind's leak detector.

Original commit message from CVS:
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init):
Make static pad templates static to appease valgrind's leak
detector.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/autodetect.c: (GST_START_TEST),
(autodetect_suite):
Add simple test for the ghostpad lockup on shutdown fixed in core
CVS (audio bit disabled because it would need dozens of alsa
suppressions and I'm too lazy to add those now).

17 years agogst/rtp/: Small cleanups.
Wim Taymans [Fri, 22 Sep 2006 12:08:14 +0000 (12:08 +0000)]
gst/rtp/: Small cleanups.

Original commit message from CVS:
* gst/rtp/gstrtpL16depay.c: (gst_rtp_L16depay_change_state):
* gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_class_init):
Small cleanups.
* gst/rtp/Makefile.am:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_base_init),
(gst_rtp_vorbis_depay_class_init), (gst_rtp_vorbis_depay_init),
(gst_rtp_vorbis_depay_finalize), (gst_rtp_vorbis_depay_setcaps),
(gst_rtp_vorbis_depay_process),
(gst_rtp_vorbis_depay_set_property),
(gst_rtp_vorbis_depay_get_property),
(gst_rtp_vorbis_depay_change_state),
(gst_rtp_vorbis_depay_plugin_init):
* gst/rtp/gstrtpvorbisdepay.h:
* gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_base_init),
(gst_rtp_vorbis_pay_class_init), (gst_rtp_vorbis_pay_init),
(gst_rtp_vorbis_pay_setcaps), (gst_rtp_vorbis_pay_init_packet),
(gst_rtp_vorbis_pay_flush_packet),
(gst_rtp_vorbis_pay_append_buffer),
(gst_rtp_vorbis_pay_handle_buffer),
(gst_rtp_vorbis_pay_plugin_init):
* gst/rtp/gstrtpvorbispay.h:
Add experimental vorbis pay and depayloaders.

17 years agogst/rtp/gstrtpmp4gpay.c: Fix profile-level-id parsing and setup.
Wim Taymans [Thu, 21 Sep 2006 13:33:16 +0000 (13:33 +0000)]
gst/rtp/gstrtpmp4gpay.c: Fix profile-level-id parsing and setup.

Original commit message from CVS:
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_parse_audio_config):
Fix profile-level-id parsing and setup.

17 years agogst/udp/: Update README, simple cleanup.
Wim Taymans [Thu, 21 Sep 2006 09:50:41 +0000 (09:50 +0000)]
gst/udp/: Update README, simple cleanup.

Original commit message from CVS:
* gst/udp/README:
* gst/udp/gstudpsrc.c: (gst_udpsrc_set_property):
Update README, simple cleanup.

17 years agogst/rtp/README: Update README with some examples.
Wim Taymans [Thu, 21 Sep 2006 09:35:13 +0000 (09:35 +0000)]
gst/rtp/README: Update README with some examples.

Original commit message from CVS:
* gst/rtp/README:
Update README with some examples.
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_init),
(gst_rtp_mp4g_pay_finalize), (gst_rtp_mp4g_pay_parse_audio_config),
(gst_rtp_mp4g_pay_parse_video_config), (gst_rtp_mp4g_pay_new_caps),
(gst_rtp_mp4g_pay_setcaps):
* gst/rtp/gstrtpmp4gpay.h:
Make optional RTP parameters of type STRING, as required by the
application/x-rtp caps specification.

17 years agogst/rtp/: Correctly calculate size of each H263+ RTP buffer taking into account MTU and
Philippe Kalaf [Wed, 20 Sep 2006 19:37:45 +0000 (19:37 +0000)]
gst/rtp/: Correctly calculate size of each H263+ RTP buffer taking into account MTU and

Original commit message from CVS:
* gst/rtp/gstrtph263pdepay.c:
* gst/rtp/gstrtph263ppay.c:
Correctly calculate size of each H263+ RTP buffer taking into account MTU and
RTP header.

17 years agogst/rtp/Makefile.am: And makefile too.
Wim Taymans [Wed, 20 Sep 2006 16:41:48 +0000 (16:41 +0000)]
gst/rtp/Makefile.am: And makefile too.

Original commit message from CVS:
* gst/rtp/Makefile.am:
And makefile too.

17 years agogst/rtp/: Added preliminary ASF depayloader.
Wim Taymans [Wed, 20 Sep 2006 16:09:03 +0000 (16:09 +0000)]
gst/rtp/: Added preliminary ASF depayloader.

Original commit message from CVS:
* gst/rtp/gstrtp.c: (plugin_init):
* gst/rtp/gstrtpasfdepay.c: (gst_rtp_asf_depay_base_init),
(gst_rtp_asf_depay_class_init), (gst_rtp_asf_depay_init),
(decode_base64), (gst_rtp_asf_depay_setcaps),
(gst_rtp_asf_depay_process), (gst_rtp_asf_depay_set_property),
(gst_rtp_asf_depay_get_property), (gst_rtp_asf_depay_change_state),
(gst_rtp_asf_depay_plugin_init):
* gst/rtp/gstrtpasfdepay.h:
Added preliminary ASF depayloader.
* gst/rtp/gstrtph264depay.c: (decode_base64):
Fix base64 decoding.

17 years agogst/rtsp/URLS: Added some test URLS.
Wim Taymans [Wed, 20 Sep 2006 16:06:27 +0000 (16:06 +0000)]
gst/rtsp/URLS: Added some test URLS.

Original commit message from CVS:
* gst/rtsp/URLS:
Added some test URLS.
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_create_stream),
(gst_rtspsrc_loop), (gst_rtspsrc_open):
* gst/rtsp/gstrtspsrc.h:
When creating streams, give access to the complete SDP.
Fix some leaks.
Collect and merge global stream properties in stream caps.
Preliminary support for WMServer.
* gst/rtsp/rtspconnection.c: (rtsp_connection_create),
(rtsp_connection_connect), (rtsp_connection_read), (read_body),
(rtsp_connection_receive):
* gst/rtsp/rtspconnection.h:
Make connection interruptable.
Refactor to make it reconnectable.
Don't fail on short reads when reading data packets.
* gst/rtsp/rtspurl.c: (rtsp_url_parse), (rtsp_url_set_port),
(rtsp_url_get_port):
* gst/rtsp/rtspurl.h:
Add methods for getting/setting the port.
* gst/rtsp/sdpmessage.c: (sdp_message_get_attribute_val_n),
(sdp_message_get_attribute_val), (sdp_media_get_attribute),
(sdp_media_get_attribute_val_n), (sdp_media_get_attribute_val),
(sdp_media_get_format), (sdp_parse_line),
(sdp_message_parse_buffer):
Fix headers.
Add methods for getting multiple attributes with the same name.
Increase buffer size when parsing.
Fix parsing of a=foo fields.
* gst/rtsp/test.c: (main):
Update to new connection API.
* gst/rtsp/rtspmessage.c: (rtsp_message_new_response),
(rtsp_message_init_response), (rtsp_message_init_data),
(rtsp_message_unset), (rtsp_message_free), (rtsp_message_dump):
* gst/rtsp/rtspmessage.h:
* gst/rtsp/rtsptransport.c: (rtsp_transport_free):
* gst/rtsp/rtsptransport.h:
* gst/rtsp/sdp.h:
* gst/rtsp/sdpmessage.h:
* gst/rtsp/gstrtsp.c:
* gst/rtsp/gstrtsp.h:
* gst/rtsp/gstrtpdec.c:
* gst/rtsp/gstrtpdec.h:
* gst/rtsp/rtsp.h:
* gst/rtsp/rtspdefs.c:
* gst/rtsp/rtspdefs.h:
Dual licensed under MIT and LGPL now.

17 years agogst/rtsp/gstrtspsrc.*: Reorganize stream parsing and creation.
Wim Taymans [Tue, 19 Sep 2006 17:25:15 +0000 (17:25 +0000)]
gst/rtsp/gstrtspsrc.*: Reorganize stream parsing and creation.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (find_stream_by_pt),
(gst_rtspsrc_create_stream), (gst_rtspsrc_free_stream),
(gst_rtspsrc_media_to_caps), (gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (find_stream_by_channel),
(gst_rtspsrc_push_event), (gst_rtspsrc_loop), (gst_rtspsrc_send),
(gst_rtspsrc_parse_methods), (gst_rtspsrc_open),
(gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play):
* gst/rtsp/gstrtspsrc.h:
Reorganize stream parsing and creation.
Detect container formats in interleaved mode.
Keep more state about the streams.
Assume a server also supports PLAY if it does not say.
Add unicast and interleaved properties to TCP transport requests to make
some servers happy (WMServer).
* gst/rtsp/sdpmessage.h:
Add some defines for the standard Bandwidth types.

17 years agoJust a small fix to the app options.
Edgard Lima [Tue, 19 Sep 2006 16:24:10 +0000 (16:24 +0000)]
Just a small fix to the app options.

Original commit message from CVS:
Just a small fix to the app options.

17 years agoAdd Video Orientation interface support to v4l2src.
Edgard Lima [Tue, 19 Sep 2006 13:08:35 +0000 (13:08 +0000)]
Add Video Orientation interface support to v4l2src.

Original commit message from CVS:
Add Video Orientation interface support to v4l2src.

17 years agogst/rtsp/test.c: Fix build.
Wim Taymans [Tue, 19 Sep 2006 10:53:56 +0000 (10:53 +0000)]
gst/rtsp/test.c: Fix build.

Original commit message from CVS:
* gst/rtsp/test.c: (main):
Fix build.

17 years agogst/wavparse/gstwavparse.c: Add ms-gsm to the src template.
Wim Taymans [Tue, 19 Sep 2006 10:14:52 +0000 (10:14 +0000)]
gst/wavparse/gstwavparse.c: Add ms-gsm to the src template.

Original commit message from CVS:
* gst/wavparse/gstwavparse.c:
Add ms-gsm to the src template.

17 years agogst/rtsp/gstrtspsrc.*: Small cleanups, added documentation.
Wim Taymans [Mon, 18 Sep 2006 17:37:46 +0000 (17:37 +0000)]
gst/rtsp/gstrtspsrc.*: Small cleanups, added documentation.

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps),
(gst_rtspsrc_send), (gst_rtspsrc_parse_methods),
(gst_rtspsrc_open), (gst_rtspsrc_close), (gst_rtspsrc_play),
(gst_rtspsrc_pause), (gst_rtspsrc_change_state),
(gst_rtspsrc_uri_get_uri), (gst_rtspsrc_uri_set_uri):
* gst/rtsp/gstrtspsrc.h:
Small cleanups, added documentation.
Try to clean up the requests and responses.
Refactor parsing the supported methods.
* gst/rtsp/rtspconnection.c: (rtsp_connection_open),
(rtsp_connection_create), (rtsp_connection_send),
(parse_response_status), (parse_request_line),
(rtsp_connection_receive), (rtsp_connection_close),
(rtsp_connection_free):
* gst/rtsp/rtsptransport.c: (rtsp_transport_new),
(rtsp_transport_init), (rtsp_transport_parse),
(rtsp_transport_free):
* gst/rtsp/rtspurl.c: (rtsp_url_parse):
* gst/rtsp/sdpmessage.c: (sdp_message_new), (sdp_message_init),
(sdp_message_clean), (sdp_message_free), (sdp_media_new),
(sdp_media_init), (sdp_message_parse_buffer), (sdp_message_dump):
Use g_return_val some more.
* gst/rtsp/rtspdefs.h:
Add more enum values to track initial states.
* gst/rtsp/rtspmessage.c: (rtsp_message_new_request),
(rtsp_message_init_request), (rtsp_message_new_response),
(rtsp_message_init_response), (rtsp_message_init_data),
(rtsp_message_unset), (rtsp_message_free),
(rtsp_message_add_header), (rtsp_message_remove_header),
(rtsp_message_get_header), (rtsp_message_set_body),
(rtsp_message_take_body), (rtsp_message_get_body),
(rtsp_message_steal_body), (rtsp_message_dump):
* gst/rtsp/rtspmessage.h:
Reorder arguments, object goes as the first one.
Use g_return_val some more.

17 years agoFix GST_BUFFER_DURATION.
Edgard Lima [Mon, 18 Sep 2006 15:36:14 +0000 (15:36 +0000)]
Fix GST_BUFFER_DURATION.

Original commit message from CVS:
Fix GST_BUFFER_DURATION.

17 years agogst/rtsp/gstrtspsrc.*: Export sometimes source pad with correct caps on the template...
Wim Taymans [Mon, 18 Sep 2006 14:00:41 +0000 (14:00 +0000)]
gst/rtsp/gstrtspsrc.*: Export sometimes source pad with correct caps on the template, create the ghostpad from the te...

Original commit message from CVS:
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_base_init),
(gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_push_event),
(gst_rtspsrc_loop), (gst_rtspsrc_uri_set_uri):
* gst/rtsp/gstrtspsrc.h:
Export sometimes source pad with correct caps on the template, create
the ghostpad from the template.
Remove RTCP template as we never expose RTCP.
Protect against invalid body size.
Avoid memcpy when creating the output buffer.
Properly post an error and send EOS when the loop function is shut down.

17 years agogst/rtsp/gstrtspsrc.*: Make sure we can never set an invalid location.
Lutz Mueller [Mon, 18 Sep 2006 11:29:12 +0000 (11:29 +0000)]
gst/rtsp/gstrtspsrc.*: Make sure we can never set an invalid location.

Original commit message from CVS:
Based on patch by: Lutz Mueller <lutz at topfrose dot de>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init),
(gst_rtspsrc_init), (gst_rtspsrc_set_property), (gst_rtspsrc_open),
(gst_rtspsrc_uri_get_uri), (gst_rtspsrc_uri_set_uri):
* gst/rtsp/gstrtspsrc.h:
Make sure we can never set an invalid location.
* gst/rtsp/rtspmessage.c: (rtsp_message_steal_body):
* gst/rtsp/rtspmessage.h:
Added _steal_body method for future use.
* gst/rtsp/rtspurl.c: (rtsp_url_parse), (rtsp_url_free):
Make freeing of NULL url return immediatly.

17 years agogst/rtsp/gstrtspsrc.*: Use boilerplate.
Lutz Mueller [Mon, 18 Sep 2006 10:42:52 +0000 (10:42 +0000)]
gst/rtsp/gstrtspsrc.*: Use boilerplate.

Original commit message from CVS:
Based on patch by: Lutz Mueller <lutz at topfrose dot de>
* gst/rtsp/gstrtspsrc.c: (_do_init), (gst_rtspsrc_class_init),
(gst_rtspsrc_init), (gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_play),
(gst_rtspsrc_change_state):
* gst/rtsp/gstrtspsrc.h:
Use boilerplate.
Make rtspsrc subclass GstBin to make state changes easier.
Add Range header field on the PLAY request.

17 years agogst/rtsp/: Small cleanups. when multicast is selected as the transport, create UDP...
Thijs Vermeir [Mon, 18 Sep 2006 08:59:17 +0000 (08:59 +0000)]
gst/rtsp/: Small cleanups. when multicast is selected as the transport, create UDP sources and connect to the multica...

Original commit message from CVS:
Based on patch by: Thijs Vermeir <thijs dot vermeir at barco dot com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_set_state),
(gst_rtspsrc_media_to_caps), (gst_rtspsrc_stream_setup_rtp),
(gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_open),
(gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause):
* gst/rtsp/rtspconnection.c: (inet_aton):
Small cleanups.
when multicast is selected as the transport, create UDP sources and
connect to the multicast group.
Move parsing and setting of caps to a common place.
Fixes #349894.