platform/upstream/gst-plugins-base.git
18 years agotests/check/: Add very simple unit test for subparse.
Tim-Philipp Müller [Thu, 19 Oct 2006 09:17:48 +0000 (09:17 +0000)]
tests/check/: Add very simple unit test for subparse.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/subparse.c: (buffer_from_static_string),
(setup_subparse), (teardown_subparse), (test_srt_do_test),
(GST_START_TEST), (subparse_suite):
Add very simple unit test for subparse.

18 years agogst/subparse/gstsubparse.c: Strip trailing newlines from subtitle text output.
Tim-Philipp Müller [Thu, 19 Oct 2006 09:00:21 +0000 (09:00 +0000)]
gst/subparse/gstsubparse.c: Strip trailing newlines from subtitle text output.

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (strip_trailing_newlines),
(parse_subrip):
Strip trailing newlines from subtitle text output.

18 years agogst/subparse/gstsubparse.c: Fix memleak; clear subparse->textbuf n state change function.
Tim-Philipp Müller [Wed, 18 Oct 2006 18:40:12 +0000 (18:40 +0000)]
gst/subparse/gstsubparse.c: Fix memleak; clear subparse->textbuf n state change function.

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
(gst_sub_parse_change_state):
Fix memleak; clear subparse->textbuf n state change function.

18 years agogst/subparse/gstsubparse.c: Don't require subrip (.srt) files to start with a chunk...
Tim-Philipp Müller [Wed, 18 Oct 2006 15:13:59 +0000 (15:13 +0000)]
gst/subparse/gstsubparse.c: Don't require subrip (.srt) files to start with a chunk number of 1.

Original commit message from CVS:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect):
Don't require subrip (.srt) files to start with a chunk number of 1.

18 years agogst-libs/gst/audio/gstbaseaudiosink.*: Extract rate from the NEWSEGMENT event.
Wim Taymans [Wed, 18 Oct 2006 13:42:49 +0000 (13:42 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.*: Extract rate from the NEWSEGMENT event.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
* gst-libs/gst/audio/gstbaseaudiosink.h:
Extract rate from the NEWSEGMENT event.
Use commit_full to also take rate adjustment into account when writing
samples to the ringbuffer.
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_commit_full), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
* gst-libs/gst/audio/gstringbuffer.h:
Added _commit_full() to also take rate into account.
Use simple interpolation algorithm to resample audio.
API: gst_ring_buffer_commit_full()
* tests/examples/seek/scrubby.c: (speed_cb), (do_seek):
* tests/examples/seek/seek.c: (segment_done):
Don't try to seek with 0.0 rate, just pause instead.
Remove bogus debug line.

18 years agogst/playback/gstplaybasebin.c: Catch async errors when starting up the subtitle bin...
Tim-Philipp Müller [Wed, 18 Oct 2006 12:57:54 +0000 (12:57 +0000)]
gst/playback/gstplaybasebin.c: Catch async errors when starting up the subtitle bin, so we can stop waiting and conti...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (subbin_startup_sync_msg),
(setup_source):
Catch async errors when starting up the subtitle bin, so we can
stop waiting and continue with the main film instead of hanging
forever. Fixes #339366.
* tests/check/elements/playbin.c: (playbin_suite):
Enable unit test for the above.

18 years agotests/check/: Some small and basic unit tests for playbin; not very useful yet, but...
Tim-Philipp Müller [Wed, 18 Oct 2006 09:53:03 +0000 (09:53 +0000)]
tests/check/: Some small and basic unit tests for playbin; not very useful yet, but at least a start.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/playbin.c: (GST_START_TEST),
(gst_red_video_src_uri_get_type),
(gst_red_video_src_uri_get_protocols),
(gst_red_video_src_uri_get_uri), (gst_red_video_src_uri_set_uri),
(gst_red_video_src_uri_handler_init),
(gst_red_video_src_init_type), (gst_red_video_src_base_init),
(gst_red_video_src_create), (gst_red_video_src_class_init),
(gst_red_video_src_init), (plugin_init), (playbin_suite):
Some small and basic unit tests for playbin; not very useful yet,
but at least a start.

18 years agogst/playback/gstplaybin.c: The old pad activation spiel.
Tim-Philipp Müller [Wed, 18 Oct 2006 09:46:35 +0000 (09:46 +0000)]
gst/playback/gstplaybin.c: The old pad activation spiel.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (setup_sinks):
The old pad activation spiel.

18 years agogst/playback/gstplaybasebin.c: Don't hang forever if the subbin already fails to...
Tim-Philipp Müller [Wed, 18 Oct 2006 09:31:49 +0000 (09:31 +0000)]
gst/playback/gstplaybasebin.c: Don't hang forever if the subbin already fails to start up in the state change to PAUS...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Don't hang forever if the subbin already fails to start up in
the state change to PAUSED (#339366).

18 years agogst-libs/gst/interfaces/tuner.c: Fix some function guards, add some more function...
Tim-Philipp Müller [Tue, 17 Oct 2006 17:17:16 +0000 (17:17 +0000)]
gst-libs/gst/interfaces/tuner.c: Fix some function guards, add some more function guards.

Original commit message from CVS:
* gst-libs/gst/interfaces/tuner.c: (gst_tuner_list_channels),
(gst_tuner_set_channel), (gst_tuner_get_channel),
(gst_tuner_list_norms), (gst_tuner_set_norm), (gst_tuner_get_norm),
(gst_tuner_set_frequency), (gst_tuner_get_frequency),
(gst_tuner_signal_strength), (gst_tuner_find_norm_by_name),
(gst_tuner_find_channel_by_name):
Fix some function guards, add some more function guards.

18 years agogst/playback/gstdecodebin.c: Don't return a pad from get_our_ghost_pad unless it...
Jan Schmidt [Tue, 17 Oct 2006 11:34:32 +0000 (11:34 +0000)]
gst/playback/gstdecodebin.c: Don't return a pad from get_our_ghost_pad unless it is actually the one we want.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (get_our_ghost_pad),
(remove_element_chain):
Don't return a pad from get_our_ghost_pad unless it is actually the
one we want.
Change a cast in remove_element_chain slightly.

18 years agotests/examples/seek/seek.c: Segment seeking needs to use the rate and set stop to -1.
Julien Moutte [Fri, 13 Oct 2006 15:20:29 +0000 (15:20 +0000)]
tests/examples/seek/seek.c: Segment seeking needs to use the rate and set stop to -1.

Original commit message from CVS:
2006-10-13  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (do_seek), (start_seek),
(rate_spinbutton_changed_cb), (segment_done),
(msg_state_changed):
Segment seeking needs to use the rate and set stop to -1.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Don't crash when ringbuffer is not yet created.
Ville Syrjala [Fri, 13 Oct 2006 14:15:42 +0000 (14:15 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Don't crash when ringbuffer is not yet created.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_setcaps):
Don't crash when ringbuffer is not yet created.
Patch by: Ville Syrjala <ville dot syrjala at movial dot fi>
Fixes #361634.
* gst/playback/gstplaybasebin.c: (new_decoded_pad_full):
* gst/playback/gststreamselector.c:
(gst_stream_selector_request_new_pad):
Activate pads befre adding them to running elements.

18 years agotests/examples/seek/seek.c: Stop the scale updater when we start grabing the slider...
Julien Moutte [Fri, 13 Oct 2006 11:25:10 +0000 (11:25 +0000)]
tests/examples/seek/seek.c: Stop the scale updater when we start grabing the slider. Don't wait for the pipeline to b...

Original commit message from CVS:
2006-10-13  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (do_seek), (start_seek),
(rate_spinbutton_changed_cb), (msg_state_changed): Stop the
scale
updater when we start grabing the slider. Don't wait for the
pipeline to be PAUSED.

18 years agogst-libs/gst/interfaces/mixer.c: Guard mixer interface functions against bogus arguments.
Tim-Philipp Müller [Fri, 13 Oct 2006 08:57:52 +0000 (08:57 +0000)]
gst-libs/gst/interfaces/mixer.c: Guard mixer interface functions against bogus arguments.

Original commit message from CVS:
* gst-libs/gst/interfaces/mixer.c: (gst_mixer_list_tracks),
(gst_mixer_set_volume), (gst_mixer_get_volume),
(gst_mixer_set_mute), (gst_mixer_set_option),
(gst_mixer_get_option), (gst_mixer_mute_toggled),
(gst_mixer_record_toggled), (gst_mixer_volume_changed),
(gst_mixer_option_changed):
Guard mixer interface functions against bogus arguments.

18 years agotests/examples/seek/seek.c: Use state-changed messages to trigger start/stop of scale...
Julien Moutte [Thu, 12 Oct 2006 19:39:07 +0000 (19:39 +0000)]
tests/examples/seek/seek.c: Use state-changed messages to trigger start/stop of scale update timer. Indeed the scale ...

Original commit message from CVS:
2006-10-12  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (do_seek), (start_seek),
(stop_seek),
(play_cb), (pause_cb), (stop_cb),
(rate_spinbutton_changed_cb),
(msg_state_changed), (main): Use state-changed messages to
trigger
start/stop of scale update timer. Indeed the scale slider was
jumping here and there because the update timer was activated
before seek completed. This fixes instant applying of rate
changes
by pressing the spinbutton like a crazy man !

18 years agogst-libs/gst/rtp/gstbasertppayload.c: Fix two small memory leaks (#361456).
Sebastien Cote [Thu, 12 Oct 2006 19:09:06 +0000 (19:09 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Fix two small memory leaks (#361456).

Original commit message from CVS:
Patch by: Sebastien Cote  <sebas642 at yahoo.ca>
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_init),
(gst_basertppayload_finalize):
Fix two small memory leaks (#361456).

18 years agotests/examples/seek/seek.c: When changing spinbutton we try to change the rate on...
Julien Moutte [Tue, 10 Oct 2006 18:56:01 +0000 (18:56 +0000)]
tests/examples/seek/seek.c: When changing spinbutton we try to change the rate on the fly.

Original commit message from CVS:
2006-10-10  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (do_seek),
(rate_spinbutton_changed_cb): When changing spinbutton we try
to change the rate on the fly.

18 years agogst-libs/gst/riff/: Add WMS caps.
Wim Taymans [Tue, 10 Oct 2006 16:50:06 +0000 (16:50 +0000)]
gst-libs/gst/riff/: Add WMS caps.

Original commit message from CVS:
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Add WMS caps.

18 years agoext/gnomevfs/: Fix URI interface implementation return type.
Josep Torre Valles [Tue, 10 Oct 2006 12:49:03 +0000 (12:49 +0000)]
ext/gnomevfs/: Fix URI interface implementation return type.

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

Patch by: Josep Torre Valles <josep@fluendo.com>

* ext/gnomevfs/gstgnomevfssink.c:
* ext/gnomevfs/gstgnomevfssrc.c:
Fix URI interface implementation return type.
* ext/pango/gsttextoverlay.c: (gst_text_overlay_set_property):
Fix what looks like a copy/paste issue when assigning values.
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_get_type):
Cast to prevent Forte warnings.
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
Fix URI interface implementation return type.
gst_pad_query_position requires a signed integer pointer as
3rd parameter, GstClockTime is unsigned.
* gst/audioconvert/audioconvert.c:
Fix integer overflow when treated as signed.
* gst/audioresample/resample.c: (resample_add_input_data):
Cast to prevent warnings on Forte.
* gst/ffmpegcolorspace/imgconvert.c: (build_rgb_palette):
Fix integer overflow when treated as signed.
* gst/ffmpegcolorspace/imgconvert_template.h:
Fix integer overflow when treated as signed. RGBA_OUT shifts bits.
* gst/playback/gstdecodebin.c: (queue_filled_cb),
(cleanup_decodebin):
Who initialises a guint to -1!
Cast function pointers to prevent warnings on Forte.
* gst/playback/gstplaybasebin.c: (queue_deadlock_check),
(queue_threshold_reached):
Cast function pointers correctly to prevent warnings on Forte.
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
Cast function pointers correctly to prevent warnings on Forte.
* gst/subparse/gstssaparse.c: (gst_ssa_parse_setcaps):
Obvious change to unsigned, 0xEF > max signed char.
* gst/tcp/gstmultifdsink.c: (get_buffers_max), (count_burst_unit):
GstClockTime is unsigned, initialise correctly.
* gst/tcp/gsttcp.c: (gst_tcp_socket_write):
Cast so pointer arithemetic doesn't cause warnings on Forte.
* gst/videorate/gstvideorate.c:
Use correct return value.
* tests/examples/seek/scrubby.c:
GstClockTime is unsigned, initialise correctly.

18 years agogst/typefind/gsttypefindfunctions.c: Recognise XML files and XML-like files shorter...
Ferenc Gerlits [Tue, 10 Oct 2006 11:20:03 +0000 (11:20 +0000)]
gst/typefind/gsttypefindfunctions.c: Recognise XML files and XML-like files shorter than 256 bytes as well (fixes #35...

Original commit message from CVS:
Patch by: Ferenc Gerlits  <fgerlits at gmail com>
* gst/typefind/gsttypefindfunctions.c:
Recognise XML files and XML-like files shorter than 256 bytes as
well (fixes #359237).

18 years agoAdded typefind functions to video/x-nuv media.
Edgard Lima [Mon, 9 Oct 2006 15:01:30 +0000 (15:01 +0000)]
Added typefind functions to video/x-nuv media.

Original commit message from CVS:
Added typefind functions to video/x-nuv media.

18 years agogst-libs/gst/interfaces/xoverlay.c: Some more guards against invalid input.
Tim-Philipp Müller [Sun, 8 Oct 2006 16:59:31 +0000 (16:59 +0000)]
gst-libs/gst/interfaces/xoverlay.c: Some more guards against invalid input.

Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c:
(gst_x_overlay_set_xwindow_id), (gst_x_overlay_expose):
Some more guards against invalid input.

18 years agoext/pango/gsttextoverlay.c: Useless goto.
Julien Moutte [Sat, 7 Oct 2006 18:35:39 +0000 (18:35 +0000)]
ext/pango/gsttextoverlay.c: Useless goto.

Original commit message from CVS:
2006-10-07  Julien MOUTTE  <julien@moutte.net>

* ext/pango/gsttextoverlay.c: (gst_text_overlay_text_event):
Useless goto.
* tests/examples/seek/seek.c: (do_seek),
(rate_spinbutton_changed_cb), (main): Add a rate spinbutton in
seek example to experiment with rates != 1.0 (reverse playback
!)

18 years agogst-libs/gst/interfaces/xoverlay.c: Unref message in doc-example (spotted by Robert...
Stefan Kost [Fri, 6 Oct 2006 19:20:53 +0000 (19:20 +0000)]
gst-libs/gst/interfaces/xoverlay.c: Unref message in doc-example (spotted by Robert McQueen)

Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c:
Unref message in doc-example (spotted by Robert McQueen)

18 years agogst/typefind/gsttypefindfunctions.c: printf fix.
Wim Taymans [Fri, 6 Oct 2006 17:04:05 +0000 (17:04 +0000)]
gst/typefind/gsttypefindfunctions.c: printf fix.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(mpeg1_parse_header), (mpeg1_sys_type_find):
printf fix.

18 years agogst/playback/: Activate dynamic pads before adding them to the element.
Wim Taymans [Fri, 6 Oct 2006 14:37:43 +0000 (14:37 +0000)]
gst/playback/: Activate dynamic pads before adding them to the element.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(close_pad_link):
* gst/playback/gstplaybasebin.c: (new_decoded_pad_full):
Activate dynamic pads before adding them to the element.

18 years agogst-libs/gst/floatcast/floatcast.h: Fix obviously-bogus macros; use the correct types.
Michael Smith [Fri, 6 Oct 2006 14:04:53 +0000 (14:04 +0000)]
gst-libs/gst/floatcast/floatcast.h: Fix obviously-bogus macros; use the correct types.

Original commit message from CVS:
* gst-libs/gst/floatcast/floatcast.h:
Fix obviously-bogus macros; use the correct types.

18 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Also call parent state change function to...
Wim Taymans [Fri, 6 Oct 2006 13:34:46 +0000 (13:34 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Also call parent state change function to activate pads.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_change_state):
Also call parent state change function to activate pads.
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(mpeg1_parse_header), (mpeg1_sys_type_find):
Add some more debug info in mpeg typefinding.

18 years agoext/theora/theoradec.c: Zero byte theora packets are valid and well-defined; don...
Michael Smith [Fri, 6 Oct 2006 12:57:10 +0000 (12:57 +0000)]
ext/theora/theoradec.c: Zero byte theora packets are valid and well-defined; don't warn on them.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Zero byte theora packets are valid and well-defined; don't warn on
them.

18 years agogst/tcp/gstmultifdsink.c: API: add dropped_buffers to the get-stats GValueArray
Thomas Vander Stichele [Fri, 6 Oct 2006 10:04:14 +0000 (10:04 +0000)]
gst/tcp/gstmultifdsink.c: API: add dropped_buffers to the get-stats GValueArray

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init),
(gst_multi_fd_sink_get_stats), (find_limits),
(gst_multi_fd_sink_queue_buffer):
API: add dropped_buffers to the get-stats GValueArray

18 years agoPrintf format fixes.
Tim-Philipp Müller [Thu, 5 Oct 2006 15:55:21 +0000 (15:55 +0000)]
Printf format fixes.

Original commit message from CVS:
* ext/alsa/gstalsadeviceprobe.c:
(gst_alsa_device_property_probe_get_values):
* ext/alsa/gstalsasink.c: (set_hwparams):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_elem_pad),
(gst_ogg_chain_new_stream), (gst_ogg_demux_read_chain):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers),
(gst_ogg_mux_process_best_pad):
* ext/ogg/gstoggparse.c: (gst_ogg_parse_new_stream),
(gst_ogg_parse_chain):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_stream_header):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_setup),
(gst_vorbis_enc_buffer_check_discontinuous):
* ext/vorbis/vorbisparse.c: (vorbis_parse_src_query):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_handle_track_seek):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_push_full):
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
* gst/audioresample/resample.c: (resample_input_pushthrough):
* gst/playback/gstplaybasebin.c: (queue_out_of_data):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset),
(wavpack_type_find):
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_create):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new):
* tests/check/elements/volume.c: (GST_START_TEST):
Printf format fixes.

18 years agogst/tcp/gsttcp.c: Fix a simple mistake (see the docs)
Thomas Vander Stichele [Wed, 4 Oct 2006 13:18:57 +0000 (13:18 +0000)]
gst/tcp/gsttcp.c: Fix a simple mistake (see the docs)

Original commit message from CVS:
* gst/tcp/gsttcp.c: (gst_tcp_gdp_read_caps):
Fix a simple mistake (see the docs)
Fixes #359580

18 years agobump version
Thomas Vander Stichele [Wed, 4 Oct 2006 13:15:36 +0000 (13:15 +0000)]
bump version

Original commit message from CVS:
bump version

18 years agodocs/plugins/: Add vorbistag element to docs; update version numbers to 0.10.10.1.
Tim-Philipp Müller [Tue, 3 Oct 2006 12:11:45 +0000 (12:11 +0000)]
docs/plugins/: Add vorbistag element to docs; update version numbers to 0.10.10.1.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* 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-playbin.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-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:
Add vorbistag element to docs; update version numbers to 0.10.10.1.

18 years agoext/vorbis/: Add new vorbistag element which derives from vorbisparse and is essentia...
James Doc Livingston [Tue, 3 Oct 2006 11:51:48 +0000 (11:51 +0000)]
ext/vorbis/: Add new vorbistag element which derives from vorbisparse and is essentially the same as well, only that ...

Original commit message from CVS:
Patch by: James "Doc" Livingston <doclivingston at gmail com>
* ext/vorbis/Makefile.am:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisparse.c: (gst_vorbis_parse_class_init),
(vorbis_parse_parse_packet), (vorbis_parse_chain):
* ext/vorbis/vorbisparse.h:
* ext/vorbis/vorbistag.c: (gst_vorbis_tag_base_init),
(gst_vorbis_tag_class_init), (gst_vorbis_tag_init),
(gst_vorbis_tag_parse_packet):
* ext/vorbis/vorbistag.h:
Add new vorbistag element which derives from vorbisparse
and is essentially the same as well, only that it implements
the GstTagSetter interface and can modify the stream's
vorbiscomment on the fly (#335635).
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/vorbistag.c: (setup_vorbistag),
(cleanup_vorbistag), (buffer_probe), (start_pipeline),
(get_buffer), (stop_pipeline), (_create_codebook_header_buffer),
(_create_audio_buffer), (GST_START_TEST), (vorbistag_suite):
Add unit test for new vorbistag element.

18 years agoext/vorbis/vorbisparse.c: Set BOS flag in packet structure to fix 'jump depends on...
Tim-Philipp Müller [Tue, 3 Oct 2006 10:36:38 +0000 (10:36 +0000)]
ext/vorbis/vorbisparse.c: Set BOS flag in packet structure to fix 'jump depends on unitialized value' errors in valgr...

Original commit message from CVS:
* ext/vorbis/vorbisparse.c: (gst_vorbis_parse_init),
(vorbis_parse_push_headers), (vorbis_parse_chain):
Set BOS flag in packet structure to fix 'jump depends
on unitialized value' errors in valgrind; various minor
clean-ups.

18 years agogst/playback/gstdecodebin.c: Fix typo in a debug statement.
Jan Schmidt [Sat, 30 Sep 2006 15:30:07 +0000 (15:30 +0000)]
gst/playback/gstdecodebin.c: Fix typo in a debug statement.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (close_pad_link):
Fix typo in a debug statement.
* gst/playback/gstplaybasebin.c: (probe_triggered),
(new_decoded_pad_full), (new_decoded_pad), (subs_new_decoded_pad),
(gen_source_element), (source_new_pad), (analyse_source),
(setup_source):
When handling no_more_pads in new_decoded_pad, make sure to treat
subtitle pads correctly. Fixes playback with subtitle files.
Move a recurring message to LOG level.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
The maximum value for the Xv colorkey on this Radeon is 0xFFFFFFFF,
which ends up as -1 when cast to an int. Make the logic handle the
max value as an unsigned mask and only change the colorkey when it's
a value we recognise.

18 years agogst-libs/gst/rtp/gstbasertpaudiopayload.c: Removed empty * between paragraphs
Philippe Kalaf [Sat, 30 Sep 2006 00:14:20 +0000 (00:14 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.c: Removed empty * between paragraphs

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
Removed empty * between paragraphs

18 years agogst-libs/gst/rtp/: Moved some documentation into .c file
Philippe Kalaf [Fri, 29 Sep 2006 23:50:53 +0000 (23:50 +0000)]
gst-libs/gst/rtp/: Moved some documentation into .c file

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
* gst-libs/gst/rtp/README:
Moved some documentation into .c file

18 years agogst/playback/gstdecodebin.c: Fix compilation.
Wim Taymans [Fri, 29 Sep 2006 17:35:01 +0000 (17:35 +0000)]
gst/playback/gstdecodebin.c: Fix compilation.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (no_more_pads):
Fix compilation.

18 years agogst/playback/gstdecodebin.c: Remove g_print
Wim Taymans [Fri, 29 Sep 2006 16:04:05 +0000 (16:04 +0000)]
gst/playback/gstdecodebin.c: Remove g_print

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (new_caps):
Remove g_print
* gst/playback/gstplaybin.c:
Add some docs.

18 years agotests/check/Makefile.am: Re-enable cddabasesrc test to see if it works again now.
Tim-Philipp Müller [Fri, 29 Sep 2006 15:16:32 +0000 (15:16 +0000)]
tests/check/Makefile.am: Re-enable cddabasesrc test to see if it works again now.

Original commit message from CVS:
* tests/check/Makefile.am:
Re-enable cddabasesrc test to see if it works again
now.

18 years agogst/playback/gstplaybasebin.c: Handle invalid URIs a bit more gracefully.
Wim Taymans [Fri, 29 Sep 2006 13:46:45 +0000 (13:46 +0000)]
gst/playback/gstplaybasebin.c: Handle invalid URIs a bit more gracefully.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_subtitle),
(gen_source_element):
Handle invalid URIs a bit more gracefully.

18 years agotests/check/pipelines/oggmux.c: Remove obsolete comment.
Tim-Philipp Müller [Fri, 29 Sep 2006 12:54:28 +0000 (12:54 +0000)]
tests/check/pipelines/oggmux.c: Remove obsolete comment.

Original commit message from CVS:
* tests/check/pipelines/oggmux.c:
Remove obsolete comment.

18 years agoext/ogg/gstoggmux.c: Commit patch from James "Doc" Livingston, adds proper EOS handli...
James Doc Livingston [Fri, 29 Sep 2006 10:43:05 +0000 (10:43 +0000)]
ext/ogg/gstoggmux.c: Commit patch from James "Doc" Livingston, adds proper EOS handling in oggmux. GStreamer can, for...

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_request_new_pad),
(gst_ogg_mux_release_pad), (gst_ogg_mux_push_buffer),
(gst_ogg_mux_compare_pads), (gst_ogg_mux_queue_pads),
(gst_ogg_mux_send_headers), (gst_ogg_mux_process_best_pad),
(gst_ogg_mux_collected):
Commit patch from James "Doc" Livingston, adds proper EOS handling
in oggmux. GStreamer can, for the first time ever, create a valid
Ogg file! Yay!

* tests/check/pipelines/oggmux.c: (check_chain_final_state),
(oggmux_suite):
Reenable tests now that they pass.

18 years agogst/tcp/gstmultifdsink.c: Stop reading commands when EOF (we read 0) as well.
Wim Taymans [Fri, 29 Sep 2006 08:20:03 +0000 (08:20 +0000)]
gst/tcp/gstmultifdsink.c: Stop reading commands when EOF (we read 0) as well.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_handle_clients):
Stop reading commands when EOF (we read 0) as well.

18 years agogst/playback/gstdecodebin.c: Implement delayed caps linking needed for element with...
Wim Taymans [Thu, 28 Sep 2006 15:29:17 +0000 (15:29 +0000)]
gst/playback/gstdecodebin.c: Implement delayed caps linking needed for element with a lot of different caps on the sr...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (dynamic_create), (dynamic_free),
(close_pad_link), (dynamic_remove), (no_more_pads), (new_caps),
(find_dynamic), (unlinked), (close_link):
Implement delayed caps linking needed for element with a lot of
different caps on the src pads that get fixed at runtime.
Improve management of dynamic elements.
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
(group_destroy), (group_commit), (check_queue), (queue_overrun),
(gen_preroll_element), (remove_groups), (unknown_type),
(add_element_stream), (no_more_pads_full), (no_more_pads),
(sub_no_more_pads), (source_no_more_pads), (preroll_unlinked),
(new_decoded_pad), (setup_subtitle), (array_has_value),
(gen_source_element), (source_new_pad), (has_all_raw_caps),
(analyse_source), (remove_decoders), (make_decoder),
(remove_source), (setup_source), (finish_source), (prepare_output),
(gst_play_base_bin_change_state):
* gst/playback/gstplaybasebin.h:
Use more _CAST instead of full type checking casts.
Small cleanups, plug some leaks.
Handle dynamic sources.
Add some helper functions to create lists of strings used for
blacklisting and other stuff.
Refactor some code dealing with analysing the source.
Re-enable sources without pads (like cd:// or other selfcontained
elements).

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: When we have a timestamp, we can still perform...
Wim Taymans [Thu, 28 Sep 2006 15:08:15 +0000 (15:08 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: When we have a timestamp, we can still perform clipping.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
When we have a timestamp, we can still perform clipping.
When we have no clock, we must play the sample ASAP.

18 years agogst/audiorate/gstaudiorate.c: Set caps on outgoing buffers.
Wim Taymans [Thu, 28 Sep 2006 11:46:26 +0000 (11:46 +0000)]
gst/audiorate/gstaudiorate.c: Set caps on outgoing buffers.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Set caps on outgoing buffers.
* gst/videorate/gstvideorate.c: (gst_video_rate_flush_prev),
(gst_video_rate_event), (gst_video_rate_chain):
* gst/videorate/gstvideorate.h:
Fix videorate some more. Fixes #357977

18 years agotests/check/elements/adder.c: Don't set timeout to 6 seconds when we're running in...
Tim-Philipp Müller [Thu, 28 Sep 2006 11:34:05 +0000 (11:34 +0000)]
tests/check/elements/adder.c: Don't set timeout to 6 seconds when we're running in valgrind ... (and how is 6 seconds...

Original commit message from CVS:
* tests/check/elements/adder.c: (adder_suite):
Don't set timeout to 6 seconds when we're running
in valgrind ... (and how is 6 seconds longer than
the default anyway?)

18 years agogst/audiorate/gstaudiorate.c: Keep sink and src segment to keep track of time and...
Wim Taymans [Thu, 28 Sep 2006 10:49:56 +0000 (10:49 +0000)]
gst/audiorate/gstaudiorate.c: Keep sink and src segment to keep track of time and support more input formats.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
(gst_audio_rate_sink_event), (gst_audio_rate_convert),
(gst_audio_rate_convert_segments), (gst_audio_rate_chain):
Keep sink and src segment to keep track of time and support more
input formats.
Fix bogus next_offset and run_time calculation, don't understand how
this could have worked before. Fixes #357976.
Remove some unneeded vars.

18 years agogst/playback/gstplaybin.c: Only remove visualisation from visbin if there is a visbin...
Tim-Philipp Müller [Thu, 28 Sep 2006 09:41:20 +0000 (09:41 +0000)]
gst/playback/gstplaybin.c: Only remove visualisation from visbin if there is a visbin (or: don't throw warnings when ...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (remove_sinks):
Only remove visualisation from visbin if there is a visbin (or:
don't throw warnings when closing totem without playing a file).

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Add some more info in a WARNING.
Wim Taymans [Wed, 27 Sep 2006 13:52:14 +0000 (13:52 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Add some more info in a WARNING.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Add some more info in a WARNING.
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create):
Handle PAUSE in create function, use new -core addition to
wait for playing. Fixes pausing and resuming capture from an
audiosrc.
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_commit),
(gst_ring_buffer_read):
Constify some more.
Caller supports interrupted reads now.

18 years agoadd new header file to spec
Christian Schaller [Wed, 27 Sep 2006 13:29:49 +0000 (13:29 +0000)]
add new header file to spec

Original commit message from CVS:
add new header file to spec

18 years agotests/check/Makefile.am: Another attempt to make the gen64 buildbot happy.
Tim-Philipp Müller [Wed, 27 Sep 2006 12:55:45 +0000 (12:55 +0000)]
tests/check/Makefile.am: Another attempt to make the gen64 buildbot happy.

Original commit message from CVS:
* tests/check/Makefile.am:
Another attempt to make the gen64 buildbot happy.

18 years agoext/libvisual/visual.c: Libvisual plugin was not passing audio data to libvisual...
Jonathan Matthew [Wed, 27 Sep 2006 11:58:17 +0000 (11:58 +0000)]
ext/libvisual/visual.c: Libvisual plugin was not passing audio data to libvisual 0.4.0 correctly. Fixes #357800

Original commit message from CVS:
Patch by: Jonathan Matthew <jonathan@kaolin.wh9.net>
* ext/libvisual/visual.c: (gst_visual_clear_actors),
(gst_visual_chain), (gst_visual_change_state):
Libvisual plugin was not passing audio data to libvisual 0.4.0
correctly. Fixes #357800

18 years agotests/check/pipelines/simple-launch-lines.c: Add timeout to _get_state() so we see...
Tim-Philipp Müller [Wed, 27 Sep 2006 11:31:43 +0000 (11:31 +0000)]
tests/check/pipelines/simple-launch-lines.c: Add timeout to _get_state() so we see which pipeline it is that causes t...

Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
Add timeout to _get_state() so we see which pipeline it is
that causes trouble on the gen64 build bot.

18 years agogst-libs/gst/rtp/gstbasertpdepayload.c: the source pad always uses fixed caps.
Wim Taymans [Wed, 27 Sep 2006 11:06:54 +0000 (11:06 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: the source pad always uses fixed caps.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_init), (gst_base_rtp_depayload_push_full),
(gst_base_rtp_depayload_push_ts), (gst_base_rtp_depayload_process),
(gst_base_rtp_depayload_set_gst_timestamp):
the source pad always uses fixed caps.

18 years agoAdded docs for the audio libs.
Wim Taymans [Wed, 27 Sep 2006 11:05:08 +0000 (11:05 +0000)]
Added docs for the audio libs.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/audio/gstaudioclock.c:
* gst-libs/gst/audio/gstaudioclock.h:
* gst-libs/gst/audio/gstaudiosink.c:
* gst-libs/gst/audio/gstaudiosink.h:
* gst-libs/gst/audio/gstaudiosrc.c:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init):
* gst-libs/gst/audio/gstbaseaudiosrc.h:
* gst-libs/gst/audio/gstringbuffer.h:
Added docs for the audio libs.

18 years agotests/check/Makefile.am: Temporarily disable test that fails on the bots for unknown...
Tim-Philipp Müller [Wed, 27 Sep 2006 10:59:24 +0000 (10:59 +0000)]
tests/check/Makefile.am: Temporarily disable test that fails on the bots for unknown reasons.

Original commit message from CVS:
* tests/check/Makefile.am:
Temporarily disable test that fails on the bots for unknown reasons.

18 years agogst-libs/gst/rtp/gstbasertpaudiopayload.*: Moved AudioCodecType into priv
Philippe Kalaf [Wed, 27 Sep 2006 00:13:29 +0000 (00:13 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.*: Moved AudioCodecType into priv

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
Moved AudioCodecType into priv
Renamed all gst_basertpaudiopayload to gst_base_rtp_audio_payload prefixes

18 years agogst/playback/gstdecodebin.c: Cleanups and small leak fixes.
Wim Taymans [Mon, 25 Sep 2006 15:47:25 +0000 (15:47 +0000)]
gst/playback/gstdecodebin.c: Cleanups and small leak fixes.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_factory_filter),
(add_fakesink), (remove_fakesink), (pad_probe), (close_pad_link),
(is_demuxer_element), (try_to_link_1), (get_our_ghost_pad),
(new_pad):
Cleanups and small leak fixes.
Added Depayloaders to valid list of autopluggable elements.

18 years agogst/playback/gstplaybin.c: Detect NO_PREROLL state change returns and disable clock...
Wim Taymans [Mon, 25 Sep 2006 13:24:59 +0000 (13:24 +0000)]
gst/playback/gstplaybin.c: Detect NO_PREROLL state change returns and disable clock distribution to the sinks so that...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_vis_blocked), (gst_play_bin_set_property),
(gen_video_element), (gen_text_element), (gen_audio_element),
(gen_vis_element), (remove_sinks), (add_sink), (setup_sinks),
(gst_play_bin_set_clock_func), (gst_play_bin_change_state):
Detect NO_PREROLL state change returns and disable clock distribution to
the sinks so that sync is disabled.
Avoid some type checking and do simple casts instead.
Small cleanups, fix some FIXMEs.
Be more robust when linking user specified elements, catch an report
errors. Fixes #357404.
Fix some leaks in the error paths.

18 years agoChangeLog surgery for missing bug-number
Stefan Kost [Mon, 25 Sep 2006 12:55:04 +0000 (12:55 +0000)]
ChangeLog surgery for missing bug-number

Original commit message from CVS:
ChangeLog surgery for missing bug-number

18 years agogst/playback/test.c: Fix compilation with uClibc and -Werror (#357591).
Peter Kjellerstedt [Mon, 25 Sep 2006 11:28:15 +0000 (11:28 +0000)]
gst/playback/test.c: Fix compilation with uClibc and -Werror (#357591).

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/playback/test.c:
Fix compilation with uClibc and -Werror (#357591).

18 years agogst-libs/gst/tag/gstvorbistag.c: Parse dates that are followed by a time as well...
Tim-Philipp Müller [Mon, 25 Sep 2006 10:21:31 +0000 (10:21 +0000)]
gst-libs/gst/tag/gstvorbistag.c: Parse dates that are followed by a time as well (#357532).

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add):
Parse dates that are followed by a time as well (#357532).
* tests/check/libs/tag.c: (test_vorbis_tags):
Add unit test for this.

18 years agogst/: A few array const-ifications.
Tim-Philipp Müller [Sat, 23 Sep 2006 15:24:55 +0000 (15:24 +0000)]
gst/: A few array const-ifications.

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (make_lossless_changes),
(gst_audio_convert_transform_caps):
* gst/videotestsrc/videotestsrc.c: (gst_video_test_src_unicolor):
* gst/videotestsrc/videotestsrc.h:
A few array const-ifications.

18 years agotests/check/Makefile.am: See if this makes the build bots happy.
Tim-Philipp Müller [Sat, 23 Sep 2006 15:02:51 +0000 (15:02 +0000)]
tests/check/Makefile.am: See if this makes the build bots happy.

Original commit message from CVS:
* tests/check/Makefile.am:
See if this makes the build bots happy.
* tests/check/libs/cddabasesrc.c:
UTF8-ise my name.

18 years agogst/subparse/samiparse.c: More case-insensitivity for certain tags; recognise entitie...
Young-Ho Cha [Sat, 23 Sep 2006 14:30:53 +0000 (14:30 +0000)]
gst/subparse/samiparse.c: More case-insensitivity for certain tags; recognise entities with decimal codes as special ...

Original commit message from CVS:
Patch by: Young-Ho Cha <ganadist at chollian dot net>
* gst/subparse/samiparse.c: (handle_start_font),
(fix_invalid_entities):
More case-insensitivity for certain tags; recognise entities with
decimal codes as special entities as well (#357330).

18 years agogst-libs/gst/Makefile.am: Need to build tag directory before cdda.
Tim-Philipp Müller [Sat, 23 Sep 2006 13:32:07 +0000 (13:32 +0000)]
gst-libs/gst/Makefile.am: Need to build tag directory before cdda.

Original commit message from CVS:
* gst-libs/gst/Makefile.am:
Need to build tag directory before cdda.

18 years agoMove GST_TAG_CDDA_* tags into libgsttag and make libgstcddabasesrc depend on libgstta...
Tim-Philipp Müller [Sat, 23 Sep 2006 13:21:07 +0000 (13:21 +0000)]
Move GST_TAG_CDDA_* tags into libgsttag and make libgstcddabasesrc depend on libgsttag. This is required so we can ex...

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/cdda/Makefile.am:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_base_init):
* gst-libs/gst/cdda/gstcddabasesrc.h:
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c: (gst_tag_register_tags_internal),
(gst_tag_register_musicbrainz_tags):
Move GST_TAG_CDDA_* tags into libgsttag and make libgstcddabasesrc
depend on libgsttag. This is required so we can extract/read tags like
DISCID without depending on libgstcddabasesrc (which used to register
them).
* gst-libs/gst/tag/gstvorbistag.c:
Add vorbiscomment mapping for CDDB_DISCID and MUSICBRAINZ_DISCID
tags (also see #347848).
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_metadata_set1):
Log vorbis comments we are actually writing. Const-ify array.

18 years agogst/playback/gstplaybasebin.c: Improve buffering a bit by avoiding a deadlock because...
Wim Taymans [Sat, 23 Sep 2006 08:53:30 +0000 (08:53 +0000)]
gst/playback/gstplaybasebin.c: Improve buffering a bit by avoiding a deadlock because we cannot assume the underrun i...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gen_preroll_element):
Improve buffering a bit by avoiding a deadlock because we cannot assume
the underrun is always called.

18 years agogst-libs/gst/riff/: Added MPEG-4 AAC and id and caps. Fixes #357289
Young-Ho Cha [Sat, 23 Sep 2006 08:51:14 +0000 (08:51 +0000)]
gst-libs/gst/riff/: Added MPEG-4 AAC and id and caps. Fixes #357289

Original commit message from CVS:
Patch by: Young-Ho Cha <ganadist at chollian dot net>
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Added MPEG-4 AAC and id and caps. Fixes #357289
Added WMA9 Lossless id.

18 years agoext/gnomevfs/gstgnomevfssrc.c: Fix misleading docs addition.
Tim-Philipp Müller [Fri, 22 Sep 2006 14:50:01 +0000 (14:50 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Fix misleading docs addition.

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c:
Fix misleading docs addition.
* tests/check/elements/videotestsrc.c: (check_rgb_buf):
Get rid of compiler warning the right way.

18 years agogst-libs/gst/rtp/gstbasertpdepayload.*: Small cleanups.
Wim Taymans [Fri, 22 Sep 2006 14:13:34 +0000 (14:13 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.*: Small cleanups.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_finalize),
(gst_base_rtp_depayload_setcaps), (gst_base_rtp_depayload_chain),
(gst_base_rtp_depayload_push_full),
(gst_base_rtp_depayload_push_ts), (gst_base_rtp_depayload_push),
(gst_base_rtp_depayload_process),
(gst_base_rtp_depayload_set_gst_timestamp),
(gst_base_rtp_depayload_queue_release):
* gst-libs/gst/rtp/gstbasertpdepayload.h:
Small cleanups.
Fix some leaks.
Refactored the process method and added methods to push from the process
vmethod.
Use _scale functions.
API: gst_base_rtp_depayload_push_ts
API: gst_base_rtp_depayload_push
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
timestamps are uint.

18 years agogst-libs/gst/interfaces/xoverlay.c: Remove unused statement from doc example.
Stefan Kost [Fri, 22 Sep 2006 11:59:00 +0000 (11:59 +0000)]
gst-libs/gst/interfaces/xoverlay.c: Remove unused statement from doc example.

Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c:
Remove unused statement from doc example.

18 years agoupdate docs
Thomas Vander Stichele [Fri, 22 Sep 2006 09:52:21 +0000 (09:52 +0000)]
update docs

Original commit message from CVS:
update docs

18 years agogst-libs/gst/interfaces/videoorientation.c: Add since tags to new API docs, ChangeLog...
Stefan Kost [Thu, 21 Sep 2006 13:49:47 +0000 (13:49 +0000)]
gst-libs/gst/interfaces/videoorientation.c: Add since tags to new API docs, ChangeLog surgery (forgot API keyword in ...

Original commit message from CVS:
* gst-libs/gst/interfaces/videoorientation.c:
(gst_video_orientation_iface_init),
(gst_video_orientation_get_hflip),
(gst_video_orientation_get_vflip),
(gst_video_orientation_get_hcenter),
(gst_video_orientation_get_vcenter),
(gst_video_orientation_set_hflip),
(gst_video_orientation_set_vflip),
(gst_video_orientation_set_hcenter),
(gst_video_orientation_set_vcenter):
Add since tags to new API docs, ChangeLog surgery (forgot API keyword
in ChangeLog)

18 years agotests/check/: but disable for now since it doesn't pass (something wrong with
Tim-Philipp Müller [Thu, 21 Sep 2006 09:27:47 +0000 (09:27 +0000)]
tests/check/: but disable for now since it doesn't pass (something wrong with

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/ffmpegcolorspace.c: (rgb_format_to_caps),
(create_rgb_conversions), (rgb_conversion_free),
(right_shift_colour), (fix_expected_colour), (check_rgb_buf),
(got_buf_cb), (GST_START_TEST), (ffmpegcolorspace_suite):
Add unit test for ffmpegcolorspace (RGB <=> RGB only so far),
but disable for now since it doesn't pass (something wrong with
RGBA somewhere).

18 years agogst/playback/gstplaybasebin.c: Refactor handling of overrun detection.
Wim Taymans [Thu, 21 Sep 2006 07:01:48 +0000 (07:01 +0000)]
gst/playback/gstplaybasebin.c: Refactor handling of overrun detection.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit),
(queue_deadlock_check), (queue_overrun), (queue_threshold_reached),
(queue_out_of_data), (gen_preroll_element),
(preroll_remove_overrun), (probe_triggered):
Refactor handling of overrun detection.
Separate handling of group completion and deadlock detection when doing
network buffering. This should fix some deadlocks that were not detected
because the group was completed.
Add more comments, improve debugging.

18 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.

18 years agogst-libs/gst/audio/gstringbuffer.c: Early morning compilation fix.
Wim Taymans [Thu, 21 Sep 2006 05:12:18 +0000 (05:12 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Early morning compilation fix.

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_samples_done), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
Early morning compilation fix.

18 years agobump nano
Thomas Vander Stichele [Wed, 20 Sep 2006 18:09:43 +0000 (18:09 +0000)]
bump nano

Original commit message from CVS:
bump nano

18 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.

18 years agosys/xvimage/xvimagesink.c: change colorkey behaviour back according to #354773 commen...
Stefan Kost [Wed, 20 Sep 2006 10:59:06 +0000 (10:59 +0000)]
sys/xvimage/xvimagesink.c: change colorkey behaviour back according to #354773 comment 6/7

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_get_times):
change colorkey behaviour back according to #354773 comment 6/7

18 years agoChangeLog surgery: remove junk
Tim-Philipp Müller [Wed, 20 Sep 2006 10:42:34 +0000 (10:42 +0000)]
ChangeLog surgery: remove junk

Original commit message from CVS:
ChangeLog surgery: remove junk

18 years agogst/tcp/gstmultifdsink.*: Implement stubbed out properties unit-type, units-soft...
Michael Smith [Tue, 19 Sep 2006 11:31:06 +0000 (11:31 +0000)]
gst/tcp/gstmultifdsink.*: Implement stubbed out properties unit-type, units-soft-max, units-max, to allow specifying ...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
(gst_multi_fd_sink_class_init), (get_buffers_max), (find_limits),
(gst_multi_fd_sink_recover_client),
(gst_multi_fd_sink_queue_buffer), (gst_multi_fd_sink_set_property),
(gst_multi_fd_sink_get_property):
* gst/tcp/gstmultifdsink.h:
Implement stubbed out properties unit-type, units-soft-max,
units-max, to allow specifying maximum sizes in units other than
buffers.
Fixes #355935

18 years agogst-libs/gst/riff/riff-media.c: Reorder the audio formats a bit for clarity.
Wim Taymans [Tue, 19 Sep 2006 10:23:03 +0000 (10:23 +0000)]
gst-libs/gst/riff/riff-media.c: Reorder the audio formats a bit for clarity.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Reorder the audio formats a bit for clarity.
Detect and create caps for MSGSM and MSN (WAV49).
Fixes #356596.
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_get_xv_support), (gst_xvimagesink_show_frame):
Small cleanups, move error handling out of normal flow for clarity.

18 years agoAdd new interface to control video orientation (fixes #354908)
Stefan Kost [Mon, 18 Sep 2006 15:59:39 +0000 (15:59 +0000)]
Add new interface to control video orientation (fixes #354908)

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs.types:
* gst-libs/gst/interfaces/Makefile.am:
* gst-libs/gst/interfaces/videoorientation.c:
(gst_video_orientation_get_type),
(gst_video_orientation_iface_init),
(gst_video_orientation_get_hflip),
(gst_video_orientation_get_vflip),
(gst_video_orientation_get_hcenter),
(gst_video_orientation_get_vcenter),
(gst_video_orientation_set_hflip),
(gst_video_orientation_set_vflip),
(gst_video_orientation_set_hcenter),
(gst_video_orientation_set_vcenter):
* gst-libs/gst/interfaces/videoorientation.h:
Add new interface to control video orientation (fixes #354908)

18 years agogst/videotestsrc/gstvideotestsrc.c: Use G_UNLIKELY in _create and log one more detail.
Stefan Kost [Mon, 18 Sep 2006 15:48:01 +0000 (15:48 +0000)]
gst/videotestsrc/gstvideotestsrc.c: Use G_UNLIKELY in _create and log one more detail.

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
Use G_UNLIKELY in _create and log one more detail.
(gst_video_test_src_get_times), (gst_video_test_src_create):
* sys/ximage/ximagesink.c: (gst_ximagesink_get_times):
Use gst_util_uint64_scale_int in _get_times().

18 years agosys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support)
Stefan Kost [Mon, 18 Sep 2006 15:00:51 +0000 (15:00 +0000)]
sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support)

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support)
Give better warning message (add object and detail).

18 years agosys/xvimage/xvimagesink.c: xvimage assumed that XV_COLORKEY can be set in RGB888...
Stefan Kost [Mon, 18 Sep 2006 14:42:03 +0000 (14:42 +0000)]
sys/xvimage/xvimagesink.c: xvimage assumed that XV_COLORKEY can be set in RGB888 format (fixes #354773), use gst_util...

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_get_times):
xvimage assumed that XV_COLORKEY can be set in RGB888 format (fixes
#354773), use gst_util_uint64_scale_int in _get_times()

18 years agoext/ogg/gstoggmux.c: Timestamps are unsigned; comparision against GST_CLOCK_TIME_NONE...
Michael Smith [Mon, 18 Sep 2006 14:21:45 +0000 (14:21 +0000)]
ext/ogg/gstoggmux.c: Timestamps are unsigned; comparision against GST_CLOCK_TIME_NONE was always true, leading to dro...

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_push_buffer):
Timestamps are unsigned; comparision against GST_CLOCK_TIME_NONE was
always true, leading to dropping all timestamps.

18 years agoext/libvisual/visual.c: update to work also with libvisual 0.4 API
Stefan Kost [Mon, 18 Sep 2006 11:40:14 +0000 (11:40 +0000)]
ext/libvisual/visual.c: update to work also with libvisual 0.4 API

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_vis_src_negotiate),
(gst_visual_chain), (gst_visual_change_state):
update to work also with libvisual 0.4 API
* tools/gst-launch-ext.1.in:
* tools/gst-visualise.1.in:
remove references to old man-pages
* tests/examples/seek/seek.c: (main):
add real meadi-buttons, add tool-tips for the seek-options, arrange
seek options in a table

18 years agoext/ogg/gstoggmux.c: Don't generate out-of-order timestamps from oggmux, instead...
Michael Smith [Mon, 18 Sep 2006 10:57:28 +0000 (10:57 +0000)]
ext/ogg/gstoggmux.c: Don't generate out-of-order timestamps from oggmux, instead clamp output timestamps to be >= the...

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_clear),
(gst_ogg_mux_push_buffer):
Don't generate out-of-order timestamps from oggmux, instead clamp
output timestamps to be >= the previously output ts.
Fixes #355595

18 years agogst/tcp/gstmultifdsink.c: Updates, fixes, and typo corrections for multifdsink. No...
Michael Smith [Mon, 18 Sep 2006 10:18:22 +0000 (10:18 +0000)]
gst/tcp/gstmultifdsink.c: Updates, fixes, and typo corrections for multifdsink. No functional changes.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_sync_method_get_type),
(gst_multi_fd_sink_class_init):
Updates, fixes, and typo corrections for multifdsink. No functional
changes.

18 years agogst/typefind/gsttypefindfunctions.c: Don't crash on truncated files - check that...
Michael Smith [Sun, 17 Sep 2006 21:58:06 +0000 (21:58 +0000)]
gst/typefind/gsttypefindfunctions.c: Don't crash on truncated files - check that we got an 8 byte buffer before tryin...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (ogganx_type_find):
Don't crash on truncated files - check that we got an 8 byte buffer
before trying to memcmp it.

18 years agogst/playback/gstplaybasebin.c: Make stream-switching appear instant to the applicatio...
Tim-Philipp Müller [Sun, 17 Sep 2006 20:32:09 +0000 (20:32 +0000)]
gst/playback/gstplaybasebin.c: Make stream-switching appear instant to the application (ie. make sure that a g_object...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (get_active_source):
Make stream-switching appear instant to the application
(ie. make sure that a g_object_get on 'current-foo' returns
the stream previously set with g_object_set(). Totem needs
this to update stream-related meta-info (like audio-codec)
correctly when switching streams.

18 years agoext/alsa/gstalsamixer.c: Try harder to guess which mixer track is the master mixer...
Tim-Philipp Müller [Sun, 17 Sep 2006 20:14:43 +0000 (20:14 +0000)]
ext/alsa/gstalsamixer.c: Try harder to guess which mixer track is the master mixer track (instead of just taking the ...

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_find_master_mixer),
(gst_alsa_mixer_ensure_track_list):
Try harder to guess which mixer track is the master mixer
track (instead of just taking the first one that has a pvolume).
Fixes #342228.