platform/upstream/gstreamer.git
11 years agoCleanup Plugin docs. Link to signals and properties. Fix sub-section titles. Drop...
Stefan Kost [Thu, 10 Jul 2008 21:06:06 +0000 (21:06 +0000)]
Cleanup Plugin docs. Link to signals and properties. Fix sub-section titles. Drop mentining that all our example pipe...

Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-overrides.txt:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
* ext/alsa/gstalsamixer.c:
* ext/alsa/gstalsasink.c:
* ext/alsa/gstalsasrc.c:
* ext/gio/gstgiosink.c:
* ext/gio/gstgiosrc.c:
* ext/gio/gstgiostreamsink.c:
* ext/gio/gstgiostreamsrc.c:
* ext/gnomevfs/gstgnomevfssink.c:
* ext/gnomevfs/gstgnomevfssrc.c:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggmux.c:
* ext/pango/gstclockoverlay.c:
* ext/pango/gsttextoverlay.c:
* ext/pango/gsttextrender.c:
* ext/pango/gsttimeoverlay.c:
* ext/theora/theoradec.c:
* ext/theora/theoraenc.c:
* ext/theora/theoraparse.c:
* ext/vorbis/vorbisdec.c:
* ext/vorbis/vorbisenc.c:
* ext/vorbis/vorbisparse.c:
* ext/vorbis/vorbistag.c:
* gst/adder/gstadder.c:
* gst/audioconvert/gstaudioconvert.c:
* gst/audioresample/gstaudioresample.c:
* gst/audiotestsrc/gstaudiotestsrc.c:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdppay.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c:
* gst/playback/gstqueue2.c:
* gst/playback/gsturidecodebin.c:
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gsttcpserversink.c:
* gst/videorate/gstvideorate.c:
* gst/videoscale/gstvideoscale.c:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/volume/gstvolume.c:
* sys/ximage/ximagesink.c:
* sys/xvimage/xvimagesink.c:
Cleanup Plugin docs. Link to signals and properties. Fix sub-section
titles. Drop mentining that all our example pipelines are "simple"
pipelines.

11 years agotests/check/: Enable unit tests on PPC again as the bugs are now fixed.
Sebastian Dröge [Mon, 30 Jun 2008 09:46:15 +0000 (09:46 +0000)]
tests/check/: Enable unit tests on PPC again as the bugs are now fixed.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Enable unit tests on PPC again as the bugs are now fixed.

11 years agogst/gdp/gstgdppay.c: Fix a buffer memleak and remove a confusing and wrong debug...
Antoine Tremblay [Fri, 20 Jun 2008 08:45:13 +0000 (08:45 +0000)]
gst/gdp/gstgdppay.c: Fix a buffer memleak and remove a confusing and wrong debug output.

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset):
Fix a buffer memleak and remove a confusing and wrong debug output.
Fixes bug #538663.

11 years agotests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbise...
Peter Kjellerstedt [Wed, 4 Jun 2008 16:00:26 +0000 (16:00 +0000)]
tests/check/pipelines/streamheader.c: Do not try to run a test which requires vorbisenc unless we have actually built...

Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (buffer_probe_cb),
(test_multifdsink_gdp_vorbisenc), (streamheader_suite):
Do not try to run a test which requires vorbisenc unless we have
actually built it.

11 years agogst/gdp/gstgdppay.c: Don't set caps on the buffers that contain a copy of the buffer...
Antoine Tremblay [Wed, 4 Jun 2008 05:58:38 +0000 (05:58 +0000)]
gst/gdp/gstgdppay.c: Don't set caps on the buffers that contain a copy of the buffer including the caps of them resul...

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset_streamheader):
Don't set caps on the buffers that contain a copy of the buffer
including the caps of them resulting in an always increasing refcount
of the caps and insanely large caps. Instead include a buffer without
caps in the new caps. Fixes bug #536475.

11 years agoAdd some documentation comments, and some new headers to be scanned.
Jan Schmidt [Thu, 22 May 2008 22:09:16 +0000 (22:09 +0000)]
Add some documentation comments, and some new headers to be scanned.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-overrides.txt:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
* ext/cdparanoia/gstcdparanoiasrc.c:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggdemux.h:
* ext/ogg/gstoggmux.c:
* ext/ogg/gstoggmux.h:
* gst/audioconvert/audioconvert.c:
* gst/audioconvert/audioconvert.h:
* gst/audioconvert/gstaudioconvert.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c:
* gst/playback/gsturidecodebin.c:
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.h:
Add some documentation comments, and some new headers to be scanned.
Rename some internal enum declarations (audioconvert's DitherType and
NoiseShapingType, GstUnitType from the TCP elements) to match the
documented GObject type names so that the docs pick them up.
Name the playbin2 docs markups properly so they get picked up. They'll
need renaming back when/if playbin2 becomes playbin.
100% symbol coverage for the plugin docs, booya.

11 years agoDon't use bad gst_element_get_pad().
Wim Taymans [Wed, 21 May 2008 16:36:50 +0000 (16:36 +0000)]
Don't use bad gst_element_get_pad().

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind):
* gst/playback/decodetest.c: (new_decoded_pad_cb):
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(try_to_link_1), (elem_is_dynamic), (close_link), (type_found),
(cleanup_decodebin):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_init),
(connect_element), (gst_decode_group_control_demuxer_pad):
* gst/playback/gstplaybasebin.c: (queue_remove_probe),
(queue_out_of_data), (gen_preroll_element), (preroll_unlinked),
(mute_group_type):
* gst/playback/gstplaybin.c: (gst_play_bin_vis_blocked),
(gst_play_bin_set_property), (handoff), (gen_video_element),
(gen_text_element), (gen_audio_element), (gen_vis_element),
(remove_sinks), (add_sink), (setup_sinks):
* gst/playback/gstplaybin2.c: (pad_added_cb), (no_more_pads_cb):
* gst/playback/gstplaysink.c: (gst_play_sink_get_video_sink),
(gst_play_sink_get_audio_sink), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_vis_plugin),
(gst_play_sink_get_vis_plugin), (gst_play_sink_set_mute),
(gen_video_chain), (gen_text_chain), (gen_audio_chain),
(gen_vis_chain), (gst_play_sink_reconfigure),
(gst_play_sink_set_font_desc), (gst_play_sink_get_font_desc),
(gst_play_sink_request_pad):
* gst/playback/gsturidecodebin.c: (type_found), (setup_source):
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(cb_newpad):
* gst/playback/test6.c: (new_decoded_pad_cb):
* tests/check/elements/audioconvert.c: (GST_START_TEST):
* tests/check/elements/audiorate.c: (test_injector_chain),
(do_perfect_stream_test):
* tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/gnomevfssink.c:
* tests/check/elements/textoverlay.c:
(notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2):
* tests/check/elements/videotestsrc.c: (GST_START_TEST):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (test_pipeline):
* tests/check/pipelines/streamheader.c: (GST_START_TEST):
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
* tests/check/pipelines/vorbisenc.c: (GST_START_TEST):
* tests/examples/seek/scrubby.c: (make_wav_pipeline):
* tests/examples/seek/seek.c: (make_mod_pipeline),
(make_dv_pipeline), (make_wav_pipeline), (make_flac_pipeline),
(make_sid_pipeline), (make_parse_pipeline), (make_vorbis_pipeline),
(make_theora_pipeline), (make_vorbis_theora_pipeline),
(make_avi_msmpeg4v3_mp3_pipeline), (make_mp3_pipeline),
(make_avi_pipeline), (make_mpeg_pipeline), (make_mpegnt_pipeline),
(update_fill), (msg_buffering):
Don't use bad gst_element_get_pad().

11 years agogst/gdp/gstgdppay.c: Close a buffer memory leak. Fixes bug #534071.
Antoine Tremblay [Wed, 21 May 2008 06:45:22 +0000 (06:45 +0000)]
gst/gdp/gstgdppay.c: Close a buffer memory leak. Fixes bug #534071.

Original commit message from CVS:
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_chain):
Close a buffer memory leak. Fixes bug #534071.

11 years agogst/gdp/gstgdpdepay.c: Don't validate the payload if there isn't any.
Edward Hervey [Fri, 18 Apr 2008 14:54:01 +0000 (14:54 +0000)]
gst/gdp/gstgdpdepay.c: Don't validate the payload if there isn't any.

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
Don't validate the payload if there isn't any.
Fixes #525915

11 years agogst/gdp/gstgdpdepay.c: Check the body CRC (if set) when depayloading.
Michael Smith [Thu, 27 Mar 2008 15:26:38 +0000 (15:26 +0000)]
gst/gdp/gstgdpdepay.c: Check the body CRC (if set) when depayloading.

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
Check the body CRC (if set) when depayloading.
Fixes #522401.

11 years agotests/check/elements/gdpdepay.c: Make test compile without unused function/variable...
Tim-Philipp Müller [Sun, 23 Mar 2008 13:12:41 +0000 (13:12 +0000)]
tests/check/elements/gdpdepay.c: Make test compile without unused function/variable warnings on PPC.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c:
Make test compile without unused function/variable warnings on PPC.

11 years agoUse G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings (i...
Sebastian Dröge [Sat, 22 Mar 2008 15:00:53 +0000 (15:00 +0000)]
Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings (i.e. all). This gives us less memory u...

Original commit message from CVS:
* configure.ac:
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_class_init):
* ext/alsa/gstalsasink.c: (gst_alsasink_class_init):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_class_init):
* ext/cdparanoia/gstcdparanoiasrc.c:
(gst_cd_paranoia_src_class_init):
* ext/gio/gstgiosink.c: (gst_gio_sink_class_init):
* ext/gio/gstgiosrc.c: (gst_gio_src_class_init):
* ext/gio/gstgiostreamsink.c: (gst_gio_stream_sink_class_init):
* ext/gio/gstgiostreamsrc.c: (gst_gio_stream_src_class_init):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_class_init):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init):
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init):
* ext/pango/gsttextrender.c: (gst_text_render_class_init):
* ext/theora/theoradec.c: (gst_theora_dec_class_init):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init):
* ext/theora/theoraparse.c: (gst_theora_parse_class_init):
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_class_init):
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_class_init):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_class_init):
* gst-libs/gst/interfaces/mixertrack.c:
(gst_mixer_track_class_init):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_class_init):
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init):
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_class_init):
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_class_init):
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_class_init):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(preroll_unlinked):
* gst/playback/gstplaybin.c: (gst_play_bin_class_init):
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init):
* gst/playback/gstplaysink.c: (gst_play_sink_class_init):
* gst/playback/gstqueue2.c: (gst_queue_class_init):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init):
* gst/playback/gststreamselector.c: (gst_selector_pad_class_init),
(gst_stream_selector_class_init):
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init):
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init):
* gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init):
* gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init):
* gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init):
* gst/videorate/gstvideorate.c: (gst_video_rate_class_init):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init):
* gst/volume/gstvolume.c: (gst_volume_class_init):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_class_init):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_class_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_class_init):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init):
* sys/ximage/ximagesink.c: (gst_ximagesink_class_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_class_init):
Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use
static strings (i.e. all). This gives us less memory usage,
fewer allocations and thus less memory defragmentation. Depend
on core CVS for this. Fixes bug #523806.

11 years agoCorrect all relevant warnings found by the sparse semantic code analyzer. This includ...
Sebastian Dröge [Mon, 3 Mar 2008 06:04:31 +0000 (06:04 +0000)]
Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static...

Original commit message from CVS:
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_get_type):
* ext/alsa/gstalsasink.c: (set_hwparams):
* ext/alsa/gstalsasrc.c: (set_hwparams):
* ext/gio/gstgio.c: (gst_gio_uri_handler_get_uri):
* ext/ogg/gstoggmux.h:
* ext/ogg/gstogmparse.c:
* gst-libs/gst/audio/audio.c:
* gst-libs/gst/fft/kiss_fft_f64.c: (kiss_fft_f64_alloc):
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_uri_sink_message_new),
(gst_missing_element_message_new),
(gst_missing_decoder_message_new),
(gst_missing_encoder_message_new):
* gst-libs/gst/rtp/gstbasertppayload.c:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
(gst_rtcp_packet_bye_get_reason):
* gst/audioconvert/gstaudioconvert.c:
* gst/audioresample/gstaudioresample.c:
* gst/ffmpegcolorspace/imgconvert.c:
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/typefind/gsttypefindfunctions.c:
* gst/videoscale/vs_4tap.c:
* gst/videoscale/vs_4tap.h:
* sys/v4l/gstv4lelement.c:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_get_any_caps):
* sys/v4l/v4l_calls.c:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init),
(gst_v4lsrc_try_capture):
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new):
* tests/check/elements/audioconvert.c:
* tests/check/elements/audioresample.c:
(fail_unless_perfect_stream):
* tests/check/elements/audiotestsrc.c: (setup_audiotestsrc):
* tests/check/elements/decodebin.c:
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(setup_gdpdepay_streamheader):
* tests/check/elements/gdppay.c: (setup_gdppay), (GST_START_TEST),
(setup_gdppay_streamheader):
* tests/check/elements/gnomevfssink.c: (setup_gnomevfssink):
* tests/check/elements/multifdsink.c: (setup_multifdsink):
* tests/check/elements/textoverlay.c:
* tests/check/elements/videorate.c: (setup_videorate):
* tests/check/elements/videotestsrc.c: (setup_videotestsrc):
* tests/check/elements/volume.c: (setup_volume):
* tests/check/elements/vorbisdec.c: (setup_vorbisdec):
* tests/check/elements/vorbistag.c:
* tests/check/generic/clock-selection.c:
* tests/check/generic/states.c: (setup), (teardown):
* tests/check/libs/cddabasesrc.c:
* tests/check/libs/video.c:
* tests/check/pipelines/gio.c:
* tests/check/pipelines/oggmux.c:
* tests/check/pipelines/simple-launch-lines.c:
(simple_launch_lines_suite):
* tests/check/pipelines/streamheader.c:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisdec.c:
* tests/check/pipelines/vorbisenc.c:
* tests/examples/seek/scrubby.c:
* tests/examples/seek/seek.c: (query_positions_elems),
(query_positions_pads):
* tests/icles/stress-xoverlay.c: (myclock):
Correct all relevant warnings found by the sparse semantic code
analyzer. This include marking several symbols static, using
NULL instead of 0 for pointers and using "foo (void)" instead
of "foo ()" for declarations.
* win32/common/libgstrtp.def:
Add gst_rtp_buffer_set_extension_data to the symbol definition file.

11 years agotests/check/pipelines/streamheader.c: Disable test_multifdsink_gdp_vorbisenc() on...
Tim-Philipp Müller [Thu, 14 Jun 2007 19:53:27 +0000 (19:53 +0000)]
tests/check/pipelines/streamheader.c: Disable test_multifdsink_gdp_vorbisenc() on ppc64 since it fails on the p5-ppc6...

Original commit message from CVS:
* tests/check/pipelines/streamheader.c: (streamheader_suite):
Disable test_multifdsink_gdp_vorbisenc() on ppc64 since it
fails on the p5-ppc64 build bot and the failure looks like it is due
to the same issue as #348114, ie. a compiler bug.

11 years agogst/gdp/gstgdppay.c (gst_gdp_pay_chain): tests/check/pipelines/streamheader.c (tag_ev...
Thomas Vander Stichele [Sat, 14 Apr 2007 12:34:55 +0000 (12:34 +0000)]
gst/gdp/gstgdppay.c (gst_gdp_pay_chain): tests/check/pipelines/streamheader.c (tag_event_probe_cb,

Original commit message from CVS:
* gst/gdp/gstgdppay.c (gst_gdp_pay_chain):
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, buffer_probe_cb, GST_START_TEST):
Fix a bug where serialized IN_CAPS buffers needed to be set IN_CAPS.

11 years agotests/check/pipelines/streamheader.c (tag_event_probe_cb,
Thomas Vander Stichele [Fri, 13 Apr 2007 21:55:31 +0000 (21:55 +0000)]
tests/check/pipelines/streamheader.c (tag_event_probe_cb,

Original commit message from CVS:
* tests/check/pipelines/streamheader.c (tag_event_probe_cb,
GST_START_TEST, n_in_caps, buffer_probe_cb, GST_START_TEST,
streamheader_suite):
Add another test set up for failure

11 years agodebug changes
Thomas Vander Stichele [Fri, 13 Apr 2007 21:09:04 +0000 (21:09 +0000)]
debug changes

Original commit message from CVS:
debug changes

11 years agotests/check/Makefile.am: tests/check/pipelines/streamheader.c (n_tags, tag_event_prob...
Thomas Vander Stichele [Fri, 13 Apr 2007 21:08:11 +0000 (21:08 +0000)]
tests/check/Makefile.am: tests/check/pipelines/streamheader.c (n_tags, tag_event_probe_cb,

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/streamheader.c (n_tags, tag_event_probe_cb,
GST_START_TEST, streamheader_suite, main):
Add a test for the streamheader bug Wim fixed.

11 years agogst/gdp/gstgdppay.c: Make sure we set the IN_CAPS flag correctly.
Wim Taymans [Thu, 12 Apr 2007 10:03:22 +0000 (10:03 +0000)]
gst/gdp/gstgdppay.c: Make sure we set the IN_CAPS flag correctly.

Original commit message from CVS:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event):
Make sure we set the IN_CAPS flag correctly.
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_render):
Get the IN_CAPS flag before we call functions that mess with the flags.

11 years agogst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader, gst_gdp_pay_chain, gst_gdp_pay_s...
Thomas Vander Stichele [Tue, 10 Apr 2007 20:37:05 +0000 (20:37 +0000)]
gst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader, gst_gdp_pay_chain, gst_gdp_pay_sink_event):

Original commit message from CVS:
* gst/gdp/gstgdppay.c (gst_gdp_pay_reset_streamheader,
gst_gdp_pay_chain, gst_gdp_pay_sink_event):
Only stamp buffers with offset/offset_end right before they get
pushed.  This ensures offset continuity, which was not the case
before as shown by
gst-launch -v -m audiotestsrc num-buffers=10 ! audioconvert ! vorbisenc ! gdppay ! identity check-imperfect-offset=TRUE ! fakesink silent=TRUE

11 years agoadding debugging
Thomas Vander Stichele [Tue, 10 Apr 2007 20:25:06 +0000 (20:25 +0000)]
adding debugging

Original commit message from CVS:
adding debugging

11 years agoadd buffer logging
Thomas Vander Stichele [Wed, 14 Mar 2007 15:05:32 +0000 (15:05 +0000)]
add buffer logging

Original commit message from CVS:
add buffer logging

11 years agotests/check/elements/: Fix the dp tests, but activating the pads for the streamheader...
Stefan Kost [Fri, 22 Dec 2006 12:10:18 +0000 (12:10 +0000)]
tests/check/elements/: Fix the dp tests, but activating the pads for the streamheader tests too and cleaning up condi...

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (cleanup_gdpdepay),
(setup_gdpdepay_streamheader):
* tests/check/elements/gdppay.c: (cleanup_gdppay),
(setup_gdppay_streamheader):
Fix the dp tests, but activating the pads for the streamheader tests
too and cleaning up conditionaly

11 years agotests/check/elements/: consistent pad (de)activation
Stefan Kost [Thu, 21 Dec 2006 08:12:26 +0000 (08:12 +0000)]
tests/check/elements/: consistent pad (de)activation

Original commit message from CVS:
* tests/check/elements/audioresample.c: (cleanup_audioresample):
* tests/check/elements/audiotestsrc.c: (cleanup_audiotestsrc):
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(cleanup_gdpdepay):
* tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay):
* tests/check/elements/subparse.c: (teardown_subparse):
* tests/check/elements/textoverlay.c: (cleanup_textoverlay):
* tests/check/elements/videorate.c: (cleanup_videorate):
* tests/check/elements/videotestsrc.c: (cleanup_videotestsrc):
* tests/check/elements/volume.c: (cleanup_volume):
* tests/check/elements/vorbisdec.c: (setup_vorbisdec),
(cleanup_vorbisdec):
* tests/check/elements/vorbistag.c: (setup_vorbistag),
(cleanup_vorbistag):
consistent pad (de)activation

11 years agotests/check/: Some more compilation fixes.
Wim Taymans [Thu, 21 Sep 2006 05:31:00 +0000 (05:31 +0000)]
tests/check/: Some more compilation fixes.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/libs/audio.c:
Some more compilation fixes.

11 years agotests/check/: Fix some warnings.
Wim Taymans [Wed, 20 Sep 2006 17:04:57 +0000 (17:04 +0000)]
tests/check/: Fix some warnings.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/multifdsink.c: (GST_START_TEST):
* tests/check/elements/videorate.c: (GST_START_TEST):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST):
* tests/check/pipelines/oggmux.c: (eos_buffer_probe):
Fix some warnings.

11 years agogst/gdp/gstgdppay.c: Fix memory leaks and misleading debug messages, add a couple...
Michael Smith [Fri, 25 Aug 2006 16:19:55 +0000 (16:19 +0000)]
gst/gdp/gstgdppay.c: Fix memory leaks and misleading debug messages, add a couple of comments.

Original commit message from CVS:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset),
(gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain):
Fix memory leaks and misleading debug messages, add a couple of
comments.

* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_get_stats),
(gst_multi_fd_sink_render):
Do not use gst_buffer_make_writable() in a basesink render method,
as it may incorrectly unref the buffer. Instead, use convoluted
dance to avoid copying the buffer except when we need to.

11 years agoadding a README
Thomas Vander Stichele [Mon, 21 Aug 2006 19:04:14 +0000 (19:04 +0000)]
adding a README

Original commit message from CVS:
adding a README

11 years agoMove GDP plugin to -base from -bad. Closes #347783.
Thomas Vander Stichele [Mon, 21 Aug 2006 19:01:41 +0000 (19:01 +0000)]
Move GDP plugin to -base from -bad. Closes #347783.

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/inspect/plugin-gdp.xml:
* gst/gdp/Makefile.am:
* tests/check/Makefile.am:
Move GDP plugin to -base from -bad.  Closes #347783.

11 years agotests/check/elements/gdpdepay.c: I forgot to include the file containing the #define :)
Edward Hervey [Tue, 8 Aug 2006 13:57:29 +0000 (13:57 +0000)]
tests/check/elements/gdpdepay.c: I forgot to include the file containing the #define :)

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
I forgot to include the file containing the #define :)
Now includes "config.h"

11 years agotests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See #348114.
Edward Hervey [Tue, 8 Aug 2006 13:45:44 +0000 (13:45 +0000)]
tests/check/elements/gdpdepay.c: Ignore test known to fail on PPC64. See #348114.

Original commit message from CVS:
* tests/check/elements/gdpdepay.c: (gdpdepay_suite):
Ignore test known to fail on PPC64. See #348114.

11 years agogst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay. Fixes #349916.
Zaheer Abbas Merali [Fri, 4 Aug 2006 13:20:23 +0000 (13:20 +0000)]
gst/gdp/gstgdpdepay.c: Fix event parsing by gdpdepay. Fixes #349916.

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

* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
Fix event parsing by gdpdepay.  Fixes #349916.

11 years agogst/gdp/gstgdpdepay.c: Disable seeking.
Wim Taymans [Wed, 2 Aug 2006 16:56:19 +0000 (16:56 +0000)]
gst/gdp/gstgdpdepay.c: Disable seeking.

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init),
(gst_gdp_depay_finalize), (gst_gdp_depay_sink_event),
(gst_gdp_depay_src_event), (gst_gdp_depay_chain),
(gst_gdp_depay_change_state):
Disable seeking.
Small cleanups.
Clear adapter on disconts.
Clear caps when going to READY instead of NULL
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_pay_finalize), (gst_gdp_pay_reset),
(gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer),
(gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader),
(gst_gdp_queue_buffer), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_src_event),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
Reset payloader when going to READY.
Fix leaked buffers in ->queue on push errors.
Disable seeking.
Code cleanups.
Create packetizer in _init, free in _finalize.

11 years agogst/gdp/gstgdpdepay.c: Consume all events except EOS because we generate events from...
Wim Taymans [Mon, 31 Jul 2006 08:48:36 +0000 (08:48 +0000)]
gst/gdp/gstgdpdepay.c: Consume all events except EOS because we generate events from the gdp payload instead. Fixes #...

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init),
(gst_gdp_depay_sink_event), (gst_gdp_depay_chain):
Consume all events except EOS because we generate events from
the gdp payload instead. Fixes #349204

11 years agogst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we reall...
Thomas Vander Stichele [Wed, 26 Jul 2006 10:52:05 +0000 (10:52 +0000)]
gst/gdp/gstgdpdepay.c: proxying get/set caps is the wrong thing to do, since we really do change caps quite fundament...

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_init):
proxying get/set caps is the wrong thing to do, since we really
do change caps quite fundamentally
* tests/check/elements/gdpdepay.c:
* tests/check/elements/gdppay.c:
remove declaration of buffers, it's already done in gstcheck.h

11 years agogst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in comment
Thomas Vander Stichele [Mon, 17 Jul 2006 14:17:45 +0000 (14:17 +0000)]
gst/gdp/: remove parent_class setting, BOILERPLATE does this fix typo in comment

Original commit message from CVS:
2006-07-17  Thomas Vander Stichele  <thomas at apestaart dot org>

* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_class_init):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
remove parent_class setting, BOILERPLATE does this
(gst_gdp_pay_reset_streamheader):
fix typo in comment

11 years agobuild as a plugin, not a lib
Thomas Vander Stichele [Fri, 14 Jul 2006 10:34:36 +0000 (10:34 +0000)]
build as a plugin, not a lib

Original commit message from CVS:
build as a plugin, not a lib

11 years agodocs/plugins/: add more plugins and elements to docs
Thomas Vander Stichele [Thu, 13 Jul 2006 15:25:58 +0000 (15:25 +0000)]
docs/plugins/: add more plugins and elements to 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 more plugins and elements to docs
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
fix segfaults due to wrong g_free
add example
* gst/gdp/gstgdppay.c:
add example

11 years agoUse GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject boilerplat...
Tim-Philipp Müller [Fri, 23 Jun 2006 09:09:44 +0000 (09:09 +0000)]
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject boilerplate macro.

Original commit message from CVS:
* ext/directfb/dfbvideosink.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/libmms/gstmms.c:
* ext/neon/gstneonhttpsrc.c:
* ext/theora/theoradec.c:
* gst/freeze/gstfreeze.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdppay.c:
* sys/glsink/glimagesink.c:
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503)
and fix one GObject boilerplate macro.

11 years agoadapt to new api
Thomas Vander Stichele [Tue, 6 Jun 2006 16:26:59 +0000 (16:26 +0000)]
adapt to new api

Original commit message from CVS:
adapt to new api

11 years agoconfigure.ac: enable building of GDP elements
Thomas Vander Stichele [Tue, 6 Jun 2006 14:39:15 +0000 (14:39 +0000)]
configure.ac: enable building of GDP elements

Original commit message from CVS:
* configure.ac:
enable building of GDP elements
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_buffer_from_caps),
(gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event),
(gst_gdp_pay_reset_streamheader), (gst_gdp_pay_sink_event),
(gst_gdp_pay_set_property), (gst_gdp_pay_get_property),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
add version 1.0

11 years agosmall fixes
Thomas Vander Stichele [Fri, 2 Jun 2006 16:45:59 +0000 (16:45 +0000)]
small fixes

Original commit message from CVS:
small fixes

11 years agogst/gdp/gstgdppay.c: add crc-header and crc-payload properties don't error out on...
Thomas Vander Stichele [Fri, 2 Jun 2006 10:28:32 +0000 (10:28 +0000)]
gst/gdp/gstgdppay.c: add crc-header and crc-payload properties don't error out on some things that are recoverable

Original commit message from CVS:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init),
(gst_gdp_pay_init), (gst_gdp_buffer_from_caps),
(gst_gdp_pay_buffer_from_buffer), (gst_gdp_buffer_from_event),
(gst_gdp_pay_reset_streamheader), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_set_property),
(gst_gdp_pay_get_property):
add crc-header and crc-payload properties
don't error out on some things that are recoverable
* tests/check/elements/gdppay.c: (GST_START_TEST), (gdppay_suite):
add test for crc

11 years agoFix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Stefan Kost [Thu, 1 Jun 2006 22:00:23 +0000 (22:00 +0000)]
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.h:
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbenc.h:
* ext/amrwb/gstamrwbparse.h:
* ext/arts/gst_arts.h:
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.h:
* ext/audioresample/gstaudioresample.h:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.h:
* ext/dirac/gstdiracdec.h:
* ext/directfb/dfbvideosink.h:
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.h:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.h:
* ext/ivorbis/vorbisenc.h:
* ext/libfame/gstlibfame.h:
* ext/nas/nassink.h:
* ext/neon/gstneonhttpsrc.h:
* ext/polyp/polypsink.h:
* ext/sdl/sdlaudiosink.h:
* ext/sdl/sdlvideosink.h:
* ext/shout/gstshout.h:
* ext/snapshot/gstsnapshot.h:
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/theora/theoradec.h:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackparse.h:
* ext/xine/gstxine.h:
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/gstcolorspace.h:
* gst/festival/gstfestival.h:
* gst/freeze/gstfreeze.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/modplug/gstmodplug.h:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/playondemand/gstplayondemand.h:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/gstrtjpegdec.h:
* gst/rtjpeg/gstrtjpegenc.h:
* gst/smooth/gstsmooth.h:
* gst/smoothwave/gstsmoothwave.h:
* gst/spectrum/gstspectrum.h:
* gst/speed/gstspeed.h:
* gst/stereo/gststereo.h:
* gst/switch/gstswitch.h:
* gst/tta/gstttadec.h:
* gst/tta/gstttaparse.h:
* gst/videodrop/gstvideodrop.h:
* gst/xingheader/gstxingmux.h:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/gstqcamsrc.h:
* sys/vcd/vcdsrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass

11 years agogst/gdp/: Handle error cases when calling functions do downwards state change after...
Thomas Vander Stichele [Mon, 22 May 2006 15:53:07 +0000 (15:53 +0000)]
gst/gdp/: Handle error cases when calling functions do downwards state change after parent's change_state

Original commit message from CVS:
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_chain),
(gst_gdp_depay_change_state):
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_reset_streamheader),
(gst_gdp_pay_chain), (gst_gdp_pay_sink_event),
(gst_gdp_pay_change_state):
* gst/gdp/gstgdppay.h:
Handle error cases when calling functions
do downwards state change after parent's change_state
* tests/check/elements/gdpdepay.c: (GST_START_TEST):
* tests/check/elements/gdppay.c: (GST_START_TEST):
clean up more

11 years agoadding GDP payloader and depayloader. Build integration will follow later when the...
Thomas Vander Stichele [Mon, 22 May 2006 13:25:52 +0000 (13:25 +0000)]
adding GDP payloader and depayloader. Build integration will follow later when the GDP issues for core are sorted out.

Original commit message from CVS:
* gst/gdp/Makefile.am:
* gst/gdp/gstgdp.c: (plugin_init):
* gst/gdp/gstgdpdepay.c: (gst_gdp_depay_base_init),
(gst_gdp_depay_class_init), (gst_gdp_depay_init),
(gst_gdp_depay_finalize), (gst_gdp_depay_chain),
(gst_gdp_depay_change_state), (gst_gdp_depay_plugin_init):
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.c: (gst_gdp_pay_base_init),
(gst_gdp_pay_class_init), (gst_gdp_pay_init),
(gst_gdp_pay_dispose), (gst_gdp_stamp_buffer),
(gst_gdp_buffer_from_caps), (gst_gdp_pay_buffer_from_buffer),
(gst_gdp_buffer_from_event), (gst_gdp_pay_reset_streamheader),
(gst_gdp_queue_buffer), (gst_gdp_pay_chain),
(gst_gdp_pay_sink_event), (gst_gdp_pay_change_state),
(gst_gdp_pay_plugin_init):
* gst/gdp/gstgdppay.h:
* tests/check/Makefile.am:
* tests/check/elements/gdpdepay.c: (setup_gdpdepay),
(cleanup_gdpdepay), (gdpdepay_push_per_byte), (GST_START_TEST),
(setup_gdpdepay_streamheader), (gdpdepay_suite), (main):
* tests/check/elements/gdppay.c: (setup_gdppay), (cleanup_gdppay),
(GST_START_TEST), (setup_gdppay_streamheader), (gdppay_suite),
(main):
adding GDP payloader and depayloader.  Build integration will
follow later when the GDP issues for core are sorted out.

11 years agortpmux: Misc fix for 0.11
Olivier Crête [Tue, 11 Sep 2012 00:38:14 +0000 (20:38 -0400)]
rtpmux: Misc fix for 0.11

Convert the incoming caps before proxying them
Clear the last_pad when going to ready

tests: Implement accept_caps, don't leak event

11 years agouvch264src: Use generic marshaller
Olivier Crête [Mon, 10 Sep 2012 20:12:39 +0000 (16:12 -0400)]
uvch264src: Use generic marshaller

11 years agoUVC H264 plugin
Youness Alaoui [Mon, 10 Sep 2012 20:09:26 +0000 (16:09 -0400)]
UVC H264 plugin

11 years agoopencv: disable motioncells "date" property for now
Tim-Philipp Müller [Sun, 9 Sep 2012 22:52:41 +0000 (23:52 +0100)]
opencv: disable motioncells "date" property for now

Shouldn't be of type long. Not sure it's useful at all, so
just disable it for now to see if someone misses it.

11 years agoconfigure: remove non-existant hlssink plugin from NONPORTED list
Tim-Philipp Müller [Sun, 9 Sep 2012 13:35:51 +0000 (14:35 +0100)]
configure: remove non-existant hlssink plugin from NONPORTED list

11 years agodecklinksink: Fix memory leak
David Schleef [Sat, 8 Sep 2012 23:08:21 +0000 (16:08 -0700)]
decklinksink: Fix memory leak

11 years agointer: fix leaks in audiosrc/sink
David Schleef [Sat, 8 Sep 2012 22:57:57 +0000 (15:57 -0700)]
inter: fix leaks in audiosrc/sink

11 years agompeg4videoparse: Don't override upstream framerate and PAR
Edward Hervey [Sat, 8 Sep 2012 15:03:33 +0000 (17:03 +0200)]
mpeg4videoparse: Don't override upstream framerate and PAR

If upstream provided some, there's a good chance they are the ones to use

11 years agohls: disable hlssink but do build hlsdemux
Tim-Philipp Müller [Sat, 8 Sep 2012 13:43:37 +0000 (14:43 +0100)]
hls: disable hlssink but do build hlsdemux

11 years agoRevert "configure.ac: Properly disable HLS plugin"
Tim-Philipp Müller [Sat, 8 Sep 2012 13:31:57 +0000 (14:31 +0100)]
Revert "configure.ac: Properly disable HLS plugin"

This reverts commit 3ad3445a25f31bc0d0167a4f413791bea8006783.

This disabled hlsdemux as well

11 years agoconfigure.ac: Properly disable HLS plugin
Edward Hervey [Sat, 8 Sep 2012 12:05:08 +0000 (14:05 +0200)]
configure.ac: Properly disable HLS plugin

11 years agohls: Add missing GST_PLUGINS_BASE_CFLAGS
Robert Swain [Fri, 7 Sep 2012 14:08:57 +0000 (16:08 +0200)]
hls: Add missing GST_PLUGINS_BASE_CFLAGS

11 years agohlssink: Add segment target-duration property
Robert Swain [Fri, 7 Sep 2012 14:07:40 +0000 (16:07 +0200)]
hlssink: Add segment target-duration property

This property causes hlssink to push a force key unit event upstream
every target-duration seconds. This is for simple automatic segmenting.
To disable it, set the property to 0 and push the force key unit event
manually.

11 years agohls: add hlssink element
Alessandro Decina [Sun, 21 Aug 2011 09:00:51 +0000 (11:00 +0200)]
hls: add hlssink element

11 years agocamerabin2: use correct variable when handling pad probe buffers
Thiago Santos [Thu, 6 Sep 2012 04:53:07 +0000 (01:53 -0300)]
camerabin2: use correct variable when handling pad probe buffers

Pad probe data is in the GstPadProbeInfo, not in the user data
parameter.

11 years agomythtv: update for duration message API change
Rico Tzschichholz [Mon, 3 Sep 2012 18:25:52 +0000 (19:25 +0100)]
mythtv: update for duration message API change

11 years agoschroenc: set interlace_coding based on input caps
Tim-Philipp Müller [Mon, 3 Sep 2012 13:21:19 +0000 (14:21 +0100)]
schroenc: set interlace_coding based on input caps

and remove property.

11 years agoschroenc: configure profile/level from allowed downstream caps instead of properties
Tim-Philipp Müller [Mon, 3 Sep 2012 13:04:40 +0000 (14:04 +0100)]
schroenc: configure profile/level from allowed downstream caps instead of properties

This is how it's done elsewhere and works better with encodebin.

Removes "force-profile" property, read-only "profile" property and
"level" property.

https://bugzilla.gnome.org/show_bug.cgi?id=670608

11 years agodiracparse: fix main profile mapping
Tim-Philipp Müller [Mon, 3 Sep 2012 12:58:16 +0000 (13:58 +0100)]
diracparse: fix main profile mapping

11 years agoschroenc: prettify enum property nicks
Tim-Philipp Müller [Mon, 3 Sep 2012 12:04:01 +0000 (13:04 +0100)]
schroenc: prettify enum property nicks

Use '-' instead of '_' as word separator.

11 years agodiracparse: change "interlaced" boolean in caps to "interlace-mode"
Tim-Philipp Müller [Mon, 3 Sep 2012 11:41:33 +0000 (12:41 +0100)]
diracparse: change "interlaced" boolean in caps to "interlace-mode"

Not strictly needed, but let's make it consistent with the raw
video way of doing things.

11 years agodiracparse: use strings for profile and level in caps
Tim-Philipp Müller [Mon, 3 Sep 2012 11:33:51 +0000 (12:33 +0100)]
diracparse: use strings for profile and level in caps

For consistency with most other formats.

https://bugzilla.gnome.org/show_bug.cgi?id=658436

11 years agospc: No need to define GLIB_DISABLE_DEPRECATION_WARNINGS
Sreerenj Balachandran [Sun, 2 Sep 2012 09:36:37 +0000 (12:36 +0300)]
spc: No need to define GLIB_DISABLE_DEPRECATION_WARNINGS

https://bugzilla.gnome.org/show_bug.cgi?id=683175

11 years agoid3tag: extract year to write into ID3v1 tag from GST_TAG_DATE_TIME not GST_TAG_DATE
Tim-Philipp Müller [Sun, 2 Sep 2012 02:55:35 +0000 (03:55 +0100)]
id3tag: extract year to write into ID3v1 tag from GST_TAG_DATE_TIME not GST_TAG_DATE

11 years agompeg4videoparse: set 0 duration when vop_coded is 0
Matej Knopp [Sat, 1 Sep 2012 19:46:19 +0000 (21:46 +0200)]
mpeg4videoparse: set 0 duration when vop_coded is 0

https://bugzilla.gnome.org/show_bug.cgi?id=683169

11 years agogst_message_new_duration -> gst_message_new_duration_changed
Tim-Philipp Müller [Sun, 2 Sep 2012 00:42:30 +0000 (01:42 +0100)]
gst_message_new_duration -> gst_message_new_duration_changed

11 years agoautoconvert: Handle caps query on internal srcpad
Jan Schmidt [Sat, 1 Sep 2012 16:12:51 +0000 (09:12 -0700)]
autoconvert: Handle caps query on internal srcpad

Reply with ANY caps to ensure linking the internal src pad. This
might need more attention later, to reply with the real upstream caps
for the currently active element.

11 years agoresindvd/mpegdemux: Send both PTS and DTS downstream
Jan Schmidt [Fri, 31 Aug 2012 22:28:29 +0000 (15:28 -0700)]
resindvd/mpegdemux: Send both PTS and DTS downstream

Now that we can.

11 years agospc: don't leak buffer in case of an init error
Tim-Philipp Müller [Sat, 1 Sep 2012 23:04:18 +0000 (00:04 +0100)]
spc: don't leak buffer in case of an init error

11 years agospc: port to 0.11
Sreerenj Balachandran [Sat, 1 Sep 2012 21:34:38 +0000 (00:34 +0300)]
spc: port to 0.11

https://bugzilla.gnome.org/show_bug.cgi?id=683175

11 years agoresindvd: Plug a video parser in front of decoder
Jan Schmidt [Fri, 31 Aug 2012 21:13:58 +0000 (14:13 -0700)]
resindvd: Plug a video parser in front of decoder

Seems to make playback both better and worse. The parser needs some
fixing, it seems :-/

11 years agodvdspu: Make GAP event aware
Jan Schmidt [Fri, 31 Aug 2012 19:31:48 +0000 (12:31 -0700)]
dvdspu: Make GAP event aware

11 years agoresindvd: Add some GAP event stuff to make still-frames start to work
Jan Schmidt [Fri, 31 Aug 2012 15:46:45 +0000 (08:46 -0700)]
resindvd: Add some GAP event stuff to make still-frames start to work

And remove the dead audiomunge element. It isn't needed now, we just
send GAP events

11 years agoresindvd: Initial partial port to 0.11
Jan Schmidt [Sat, 9 Jun 2012 12:36:06 +0000 (22:36 +1000)]
resindvd: Initial partial port to 0.11

11 years agoautoconvert: Don't drop upstream events due to silly typo
Jan Schmidt [Fri, 31 Aug 2012 01:39:50 +0000 (18:39 -0700)]
autoconvert: Don't drop upstream events due to silly typo

11 years agompegdemux: Merge some DVD pieces and fixes
Jan Schmidt [Fri, 31 Aug 2012 00:51:50 +0000 (17:51 -0700)]
mpegdemux: Merge some DVD pieces and fixes

Bring the resindvd copy of mpegpsdemux and the normal version
slightly closer together.

Don't forward incoming sink caps event to downstream elements.

11 years agompegdemux: avoid extra refs/unrefs of the demuxer
Jan Schmidt [Sun, 10 Jun 2012 22:33:36 +0000 (08:33 +1000)]
mpegdemux: avoid extra refs/unrefs of the demuxer

Change all the gst_pad_get_parent() calls to a cast to the
passed parent variable where appropriate, and don't unref,
including the extra unref in the
gst_flups_demux_sink_activate_push() function.

11 years agodvbsuboverlay: adjust to modified video overlay composition API
Mark Nauwelaerts [Thu, 30 Aug 2012 10:11:20 +0000 (12:11 +0200)]
dvbsuboverlay: adjust to modified video overlay composition API

... and supply overlay rectangle data in AYUV as provided by input
data rather than converting to RGB.

11 years agocamerabin: no need to set clock/basetime again
Thiago Santos [Thu, 30 Aug 2012 01:05:56 +0000 (22:05 -0300)]
camerabin: no need to set clock/basetime again

The base and clock aren't lost anymore on state changes
in 1.0

11 years agocamerabin: no need to send extra reconfigure
Thiago Santos [Thu, 30 Aug 2012 01:05:04 +0000 (22:05 -0300)]
camerabin: no need to send extra reconfigure

Setting capsfilters already sends reconfigure events when a new
caps is set, no need to resend them.

11 years agocamerabin: request _%u templates instead of _%d
Thiago Santos [Wed, 29 Aug 2012 00:01:55 +0000 (21:01 -0300)]
camerabin: request _%u templates instead of _%d

In 1.0, templates have been renamed to _%u as default

11 years agotests: camerabin: fix image location switching test
Thiago Santos [Sun, 26 Aug 2012 19:43:37 +0000 (16:43 -0300)]
tests: camerabin: fix image location switching test

The test should wait until the last image-done is posted so it
can correctly check that all images have been saved.

11 years agowrappercamerabinsrc: rework video recording eos push
Thiago Santos [Sun, 26 Aug 2012 19:42:04 +0000 (16:42 -0300)]
wrappercamerabinsrc: rework video recording eos push

Push EOS outside of wrappercamerabinsrc so that none of the
internal elements gets its pads into eos state, preventing any
further data from passing

11 years agoh264parse: ensure sufficiently sized buffer when wrapping NAL
Mark Nauwelaerts [Tue, 28 Aug 2012 09:07:41 +0000 (11:07 +0200)]
h264parse: ensure sufficiently sized buffer when wrapping NAL

Noted by <zhangyanping210@yahoo.com.cn>

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=682589

11 years agoshm: remove unneeded glib-gen-mak include in Makefile
Tim-Philipp Müller [Fri, 24 Aug 2012 08:01:41 +0000 (09:01 +0100)]
shm: remove unneeded glib-gen-mak include in Makefile

No enums or marshallers to be generated here. Should also
be gst-glib-gen.mak then.

11 years agoaudiovisualizer: revert renaming of the type
Stefan Sauer [Wed, 22 Aug 2012 13:08:53 +0000 (15:08 +0200)]
audiovisualizer: revert renaming of the type

The special type name was lost when merging from base.

11 years agoAutomatic update of common submodule
Stefan Sauer [Wed, 22 Aug 2012 11:30:40 +0000 (13:30 +0200)]
Automatic update of common submodule

From 668acee to 4f962f7

11 years agoconfigure: bump gtk-doc req to 1.12 (mar-2009)
Stefan Sauer [Wed, 22 Aug 2012 11:19:53 +0000 (13:19 +0200)]
configure: bump gtk-doc req to 1.12 (mar-2009)

This allows us to e.g. unconditionally use gtkdoc-rebase.

11 years agoaudiovisualizer: avoid registering enum type of same name as libvisual plugin in...
Tim-Philipp Müller [Tue, 21 Aug 2012 12:29:16 +0000 (13:29 +0100)]
audiovisualizer: avoid registering enum type of same name as libvisual plugin in -base

11 years agowayland: use scale fullscreen method.
Sreerenj Balachandran [Fri, 17 Aug 2012 08:12:22 +0000 (11:12 +0300)]
wayland: use scale fullscreen method.

This makes the compositor scale the surface to fit and preserves
aspect ratio.

https://bugzilla.gnome.org/show_bug.cgi?id=681453

11 years agowayland: respond to ping/pong protocol so we're not deemed unresponsive.
Sreerenj Balachandran [Fri, 17 Aug 2012 08:10:39 +0000 (11:10 +0300)]
wayland: respond to ping/pong protocol so we're not deemed unresponsive.

https://bugzilla.gnome.org/show_bug.cgi?id=681453

11 years agoconfigure: fix check for wayland
Tim-Philipp Müller [Tue, 21 Aug 2012 09:37:10 +0000 (10:37 +0100)]
configure: fix check for wayland

We only seem to need wayland-client. Also make work with
wayland being installed in a non-default prefix by not
overwriting/clearing WAYLAND_{CFLAGS,LIBS} for no reason
at all.

11 years agoid3tag: fix build
Tim-Philipp Müller [Tue, 21 Aug 2012 09:29:55 +0000 (10:29 +0100)]
id3tag: fix build

Some code slipped into the last commit that was meant to be
pushed separately. Use gst_date_time_unref() instead of _free().

11 years agowayland: More fixes based on wayland-0.95.0 and gstreamer-1.0 apis
Sreerenj Balachandran [Wed, 8 Aug 2012 14:10:28 +0000 (17:10 +0300)]
wayland: More fixes based on wayland-0.95.0 and gstreamer-1.0 apis

- bump wayland version to 0.95.0 which will lead to stable 1.0 release
- avoid memcopy and use propose_allocation for GstBufferPool allocation
- using WaylandBufferPool
- shm: Allocate shm buffers through new wl_shm_pool interface
  (the shm buffer allocation is a two step process now: first
  allocate a wl_shm_pool, then allocate a buffer from the pool)

https://bugzilla.gnome.org/show_bug.cgi?id=681453