platform/upstream/gstreamer.git
18 years agoadd doap file
Thomas Vander Stichele [Fri, 15 Dec 2006 00:20:37 +0000 (00:20 +0000)]
add doap file

Original commit message from CVS:
* Makefile.am:
* gst-plugins-base.doap:
* gst-plugins-base.spec.in:
add doap file

18 years agoDeclare variables at the beginning of a block. Fixes #383195.
Jens Granseuer [Sat, 9 Dec 2006 15:12:38 +0000 (15:12 +0000)]
Declare variables at the beginning of a block. Fixes #383195.

Original commit message from CVS:
Patch by: Jens Granseuer <jensgr at gmx net>
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_handle_frame_based_buffer),
(gst_base_rtp_audio_payload_handle_sample_based_buffer):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_fixate):
Declare variables at the beginning of a block. Fixes #383195.

18 years agoconfigure.ac: Bump version nano - back to CVS.
Jan Schmidt [Thu, 7 Dec 2006 02:38:41 +0000 (02:38 +0000)]
configure.ac: Bump version nano - back to CVS.

Original commit message from CVS:
* configure.ac:
Bump version nano - back to CVS.

18 years agoconfigure.ac: releasing 0.10.11, "Dumb things"
Jan Schmidt [Thu, 7 Dec 2006 02:30:38 +0000 (02:30 +0000)]
configure.ac: releasing 0.10.11, "Dumb things"

Original commit message from CVS:
=== release 0.10.11 ===

2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.11, "Dumb things"

18 years agogst/playback/gstdecodebin.c: Handle the case where an element has multiple pads with...
Jan Schmidt [Tue, 5 Dec 2006 12:44:00 +0000 (12:44 +0000)]
gst/playback/gstdecodebin.c: Handle the case where an element has multiple pads with unfixed caps as well as still po...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (find_dynamic), (dynamic_add),
(close_pad_link), (elem_is_dynamic), (unlinked), (close_link):
Handle the case where an element has multiple pads with
unfixed caps as well as still possibly producing more dynamic
pads by storing each case as a distinct entry in the dynamic list.
Fixes #38223 again.

18 years agogst/playback/gstdecodebin.c: Fix #382223, add more dynamic caps handling.
Wim Taymans [Mon, 4 Dec 2006 13:02:37 +0000 (13:02 +0000)]
gst/playback/gstdecodebin.c: Fix #382223, add more dynamic caps handling.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (close_pad_link):
Fix #382223, add more dynamic caps handling.

18 years agoIgnore all pot files
Zaheer Abbas Merali [Fri, 1 Dec 2006 11:35:57 +0000 (11:35 +0000)]
Ignore all pot files

Original commit message from CVS:
Ignore all pot files

18 years agogst/audiorate/gstaudiorate.c: Delete bad debug code.
Michael Smith [Fri, 1 Dec 2006 10:36:50 +0000 (10:36 +0000)]
gst/audiorate/gstaudiorate.c: Delete bad debug code.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_chain):
Delete bad debug code.
Fixes #381219

18 years agoFix compilation on win32 under VS8
Sergey Scobich [Fri, 1 Dec 2006 10:27:54 +0000 (10:27 +0000)]
Fix compilation on win32 under VS8

Original commit message from CVS:
* gst/videoscale/vs_4tap.c:
* win32/MANIFEST:
* win32/common/config.h:
* win32/vs8/libgstvideoscale.vcproj:
Fix compilation on win32 under VS8
Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
Partially fixes #381175

18 years agoUpdate .po files
Jan Schmidt [Thu, 30 Nov 2006 23:46:27 +0000 (23:46 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agotests/check/pipelines/theoraenc.c: It would be very bad if, after a discont buffer...
Michael Smith [Thu, 30 Nov 2006 12:50:42 +0000 (12:50 +0000)]
tests/check/pipelines/theoraenc.c: It would be very bad if, after a discont buffer, we thought every single following...

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
(GST_START_TEST):
It would be very bad if, after a discont buffer, we thought every
single following buffer was also discont. So, add to the test to
ensure that this isn't the case.

* ext/theora/theoraenc.c: (theora_enc_is_discontinuous):
... it was the case. So fix it.

18 years agogst/playback/gstplaybasebin.c: Improve debug.
Wim Taymans [Tue, 28 Nov 2006 16:43:18 +0000 (16:43 +0000)]
gst/playback/gstplaybasebin.c: Improve debug.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (check_queue_event):
Improve debug.
* gst/videoscale/gstvideoscale.c: (gst_video_scale_transform_caps):
Fix width and height range from 16 - 4096 to 1 - MAXINT, just like the
padtemplate caps. Refixes #357577.

18 years agogst/playback/gstplaybasebin.c: Add event probe to see when EOS is in a queue and...
Wim Taymans [Tue, 28 Nov 2006 16:21:27 +0000 (16:21 +0000)]
gst/playback/gstplaybasebin.c: Add event probe to see when EOS is in a queue and we can disable the underrun signals....

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (check_queue_event),
(queue_threshold_reached), (queue_out_of_data),
(gen_preroll_element):
Add event probe to see when EOS is in a queue and we can disable the
underrun signals. Fixes #357577.

18 years agogst/playback/: New decodebin2 element.
Edward Hervey [Tue, 28 Nov 2006 14:40:39 +0000 (14:40 +0000)]
gst/playback/: New decodebin2 element.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_get_type),
(_gst_boolean_accumulator), (gst_decode_bin_class_init),
(gst_decode_bin_factory_filter), (compare_ranks), (print_feature),
(gst_decode_bin_init), (gst_decode_bin_dispose),
(gst_decode_bin_finalize), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (gst_decode_bin_set_caps),
(gst_decode_bin_get_caps), (gst_decode_bin_autoplug_continue),
(gst_decode_bin_autoplug_sort), (analyze_new_pad), (connect_pad),
(connect_element), (expose_pad), (type_found),
(pad_added_group_cb), (pad_removed_group_cb),
(no_more_pads_group_cb), (pad_added_cb), (pad_removed_cb),
(no_more_pads_cb), (find_compatibles), (is_demuxer_element),
(are_raw_caps), (multi_queue_overrun_cb),
(multi_queue_underrun_cb), (gst_decode_group_new),
(get_current_group), (group_demuxer_event_probe),
(gst_decode_group_control_demuxer_pad),
(gst_decode_group_control_source_pad),
(gst_decode_group_check_if_blocked),
(gst_decode_group_check_if_drained), (gst_decode_group_expose),
(gst_decode_group_hide), (gst_decode_group_free),
(gst_decode_group_set_complete), (source_pad_blocked_cb),
(source_pad_event_probe), (gst_decode_pad_new), (add_fakesink),
(remove_fakesink), (find_sink_pad), (gst_decode_bin_change_state),
(plugin_init):
New decodebin2 element.
Closes #370092
* gst/playback/gstplay-marshal.list:
Added marshallers for new signals in decodebin2
* gst/playback/gstplaybasebin.c: (setup_subtitle), (make_decoder):
Use decodebin2 if *and only if* the USE_DECODEBIN2 environment variable
is set.

18 years agogst/playback/gstplaybasebin.c: Disable rtsp:// uris for the release, it's not good...
Wim Taymans [Tue, 28 Nov 2006 10:45:40 +0000 (10:45 +0000)]
gst/playback/gstplaybasebin.c: Disable rtsp:// uris for the release, it's not good enough yet.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source),
(gst_play_base_bin_change_state):
Disable rtsp:// uris for the release, it's not good enough yet.
Remove unused var.

18 years agoext/theora/theoradec.c: Implement reverse playback.
Wim Taymans [Sun, 26 Nov 2006 16:39:41 +0000 (16:39 +0000)]
ext/theora/theoradec.c: Implement reverse playback.

Original commit message from CVS:
* ext/theora/theoradec.c: (gst_theora_dec_reset),
(theora_dec_push_forward), (theora_dec_push_reverse),
(theora_handle_data_packet), (theora_dec_decode_buffer),
(theora_dec_flush_decode), (theora_dec_chain_reverse),
(theora_dec_chain_forward), (theora_dec_chain):
Implement reverse playback.
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
(vorbis_dec_decode_buffer), (vorbis_dec_flush_decode),
(vorbis_dec_chain_forward):
Clear buffers used for reverse playback in _reset.
No need to set the eos flag, we clip samples using the segment.

18 years agoext/ogg/gstoggdemux.c: Some cleanups.
Wim Taymans [Fri, 24 Nov 2006 15:40:58 +0000 (15:40 +0000)]
ext/ogg/gstoggdemux.c: Some cleanups.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_page_copy), (gst_ogg_page_free),
(gst_ogg_pad_init), (gst_ogg_pad_dispose), (gst_ogg_pad_reset),
(gst_ogg_pad_stream_out), (gst_ogg_pad_submit_page),
(gst_ogg_chain_reset), (gst_ogg_demux_perform_seek):
Some cleanups.
Handle continued pages in reverse mode.

18 years agoext/vorbis/vorbisdec.c: Small cleanups.
Wim Taymans [Fri, 24 Nov 2006 15:39:03 +0000 (15:39 +0000)]
ext/vorbis/vorbisdec.c: Small cleanups.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_push_forward),
(vorbis_handle_data_packet), (vorbis_dec_decode_buffer),
(vorbis_dec_flush_decode):
Small cleanups.
Don't try to add invalid timestamps.
Clipping will unref the buffer.

18 years agogst/: remove obsolete _factory_init protos
Stefan Kost [Fri, 24 Nov 2006 08:56:10 +0000 (08:56 +0000)]
gst/: remove obsolete _factory_init protos

Original commit message from CVS:
* gst/adder/gstadder.h:
* gst/audiotestsrc/gstaudiotestsrc.h:
remove obsolete _factory_init protos

18 years agosys/xvimage/xvimagesink.c: Fix spacing in debug message.
Stefan Kost [Fri, 24 Nov 2006 08:35:23 +0000 (08:35 +0000)]
sys/xvimage/xvimagesink.c: Fix spacing in debug message.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_buffer_alloc):
Fix spacing in debug message.

18 years agoext/ogg/gstoggdemux.c: Don't just ignore return values from _pad_push().
Wim Taymans [Thu, 23 Nov 2006 11:07:23 +0000 (11:07 +0000)]
ext/ogg/gstoggdemux.c: Don't just ignore return values from _pad_push().

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page),
(gst_ogg_demux_chain):
Don't just ignore return values from _pad_push().
Small debug improvements.

18 years agoext/ogg/gstoggmux.c: If our incoming buffer is marked as DISCONT, then increment...
Michael Smith [Thu, 23 Nov 2006 11:02:11 +0000 (11:02 +0000)]
ext/ogg/gstoggmux.c: If our incoming buffer is marked as DISCONT, then increment the page number (so that the discont...

Original commit message from CVS:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_process_best_pad):
If our incoming buffer is marked as DISCONT, then increment the page
number (so that the discontinuity is marked in the final ogg
bitstream) and flush the previous page.

18 years agoext/theora/: Mark discontinuities of > 3/4 of a frame, reinit encoder.
Michael Smith [Wed, 22 Nov 2006 14:34:03 +0000 (14:34 +0000)]
ext/theora/: Mark discontinuities of > 3/4 of a frame, reinit encoder.

Original commit message from CVS:
* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c: (gst_theora_enc_init),
(theora_enc_reset), (theora_enc_clear), (theora_enc_sink_setcaps),
(theora_buffer_from_packet), (theora_enc_is_discontinuous),
(theora_enc_chain), (theora_enc_change_state):
Mark discontinuities of > 3/4 of a frame, reinit encoder.

* tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
(GST_START_TEST), (theoraenc_suite):
Enable discontinuity test, fix it.

18 years agoext/pango/gsttextoverlay.*: Some textoverlay fixes: for one, in the video chain funct...
Tim-Philipp Müller [Tue, 21 Nov 2006 18:39:34 +0000 (18:39 +0000)]
ext/pango/gsttextoverlay.*: Some textoverlay fixes: for one, in the video chain function, actually wait for a text bu...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_text_pad_unlink), (gst_text_overlay_text_event),
(gst_text_overlay_video_event), (gst_text_overlay_pop_text),
(gst_text_overlay_text_chain), (gst_text_overlay_video_chain),
(gst_text_overlay_change_state):
* ext/pango/gsttextoverlay.h:
Some textoverlay fixes: for one, in the video chain function,
actually wait for a text buffer to come in if there is none at the
moment and there should be one; also, deal more gracefully with
incoming buffers that do not have a timestamp or duration; discard
text buffer when not needed any longer. Fixes #341681.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/textoverlay.c:
(notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2),
(setup_textoverlay), (buffer_is_all_black), (create_black_buffer),
(create_text_buffer), (cleanup_textoverlay), (GST_START_TEST),
(test_video_waits_for_text_send_text_newsegment_thread),
(test_video_waits_for_text_shutdown_element),
(test_render_continuity_push_video_buffers_thread),
(textoverlay_suite):
Add some unit tests for textoverlay.

18 years agogst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found probabili...
Tim-Philipp Müller [Tue, 21 Nov 2006 09:29:56 +0000 (09:29 +0000)]
gst/typefind/gsttypefindfunctions.c: Avoid integer underflow when the found probability for mp3 is smaller than the '...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
Avoid integer underflow when the found probability for mp3 is
smaller than the 'penalty' we subtract if there's not a clean
mp3 header sync at offset 0.

18 years agodocs/libs/gst-plugins-base-libs-sections.txt: Add some new symbols to the docs
Stefan Kost [Tue, 21 Nov 2006 08:17:16 +0000 (08:17 +0000)]
docs/libs/gst-plugins-base-libs-sections.txt: Add some new symbols to the docs

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
Add some new symbols to the docs

18 years agotests/check/: Enable ffmpegcolorspace test now that the RGBA32 issue is fixed (for...
Tim-Philipp Müller [Mon, 20 Nov 2006 16:44:28 +0000 (16:44 +0000)]
tests/check/: Enable ffmpegcolorspace test now that the RGBA32 issue is fixed (for now not for valgrinding though, si...

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/ffmpegcolorspace.c:
(ffmpegcolorspace_suite):
Enable ffmpegcolorspace test now that the RGBA32 issue is fixed
(for now not for valgrinding though, since it takes too long).

18 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix RGBA32 caps. Fixes #357038.
Wim Taymans [Mon, 20 Nov 2006 15:01:09 +0000 (15:01 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix RGBA32 caps. Fixes #357038.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps):
Fix RGBA32 caps. Fixes #357038.

18 years agogst-libs/gst/interfaces/mixertrack.h: Add FIXME so we can add some padding here in...
Tim-Philipp Müller [Mon, 20 Nov 2006 12:20:39 +0000 (12:20 +0000)]
gst-libs/gst/interfaces/mixertrack.h: Add FIXME so we can add some padding here in 0.11

Original commit message from CVS:
* gst-libs/gst/interfaces/mixertrack.h:
Add FIXME so we can add some padding here in 0.11

18 years agogst-libs/gst/rtp/gstbasertpaudiopayload.h: Fix GstBaseRTPAudioPayload structure so...
Tim-Philipp Müller [Sun, 19 Nov 2006 17:07:34 +0000 (17:07 +0000)]
gst-libs/gst/rtp/gstbasertpaudiopayload.h: Fix GstBaseRTPAudioPayload structure so the whole GObject inheritance busi...

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpaudiopayload.h:
Fix GstBaseRTPAudioPayload structure so the whole GObject
inheritance business actually works (parent class instance structure
must always come first in the derived class instance structure).

18 years agoMake sure our checks and the videotestsrc plugin link against the local uninstalled...
Tim-Philipp Müller [Thu, 16 Nov 2006 14:35:30 +0000 (14:35 +0000)]
Make sure our checks and the videotestsrc plugin link against the local uninstalled gst libs and not any installed gs...

Original commit message from CVS:
* gst/videotestsrc/Makefile.am:
* tests/check/Makefile.am:
Make sure our checks and the videotestsrc plugin link against the
local uninstalled gst libs and not any installed gst libs that
might happen to exist as well.
* tests/check/elements/adder.c: (message_received),
(test_event_message_received), (test_play_twice_message_received):
* tests/check/elements/ffmpegcolorspace.c: (GST_START_TEST):
Fix compiler warnings when compiling against core with disabled
debugging system.

18 years agogst/audiorate/gstaudiorate.c: Fix audiorate, so that it accurately sets offsets and...
Michael Smith [Thu, 16 Nov 2006 12:55:08 +0000 (12:55 +0000)]
gst/audiorate/gstaudiorate.c: Fix audiorate, so that it accurately sets offsets and timestamps.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_reset),
(gst_audio_rate_sink_event), (gst_audio_rate_chain):
Fix audiorate, so that it accurately sets offsets and timestamps.
Doesn't change the fundamental algorithmic decisions; so should be
safe.

* tests/check/Makefile.am:
Enable audiorate test now that it passes.

18 years agosys/xvimage/xvimagesink.c: clear xv when going to NULL, remove // commented non-exist...
Stefan Kost [Wed, 15 Nov 2006 10:05:33 +0000 (10:05 +0000)]
sys/xvimage/xvimagesink.c: clear xv when going to NULL, remove // commented non-existant proto

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_change_state):
clear xv when going to NULL, remove // commented non-existant proto
* tests/examples/seek/seek.c: (main):
add missing tooltip description for scrub and play_scrub

18 years agoconfigure.ac: Bump liboil requirement to 0.3.8.
David Schleef [Tue, 14 Nov 2006 23:34:19 +0000 (23:34 +0000)]
configure.ac: Bump liboil requirement to 0.3.8.

Original commit message from CVS:
* configure.ac:
Bump liboil requirement to 0.3.8.
* gst-libs/gst/riff/riff-media.c:
Add Dirac fourcc.
* gst/videoscale/vs_image.h:
* gst/videoscale/vs_scanline.h:
Use liboil's stdint.h.
* gst/videotestsrc/videotestsrc.c:
Remove liboil related ifdef's, since they aren't needed now, and
won't work with future versions.

18 years agogst/videoscale/: Add a 4-tap image scaler. Theoretically looks much prettier.
David Schleef [Tue, 14 Nov 2006 23:08:38 +0000 (23:08 +0000)]
gst/videoscale/: Add a 4-tap image scaler.  Theoretically looks much prettier.

Original commit message from CVS:
* gst/videoscale/Makefile.am:
* gst/videoscale/gstvideoscale.c:
* gst/videoscale/gstvideoscale.h:
* gst/videoscale/vs_4tap.c:
* gst/videoscale/vs_4tap.h:
* gst/videoscale/vs_image.c:
* gst/videoscale/vs_image.h:
* gst/videoscale/vs_scanline.c:
* gst/videoscale/vs_scanline.h:
Add a 4-tap image scaler.  Theoretically looks much prettier.
The tap calculation could use some improvement.

18 years agoVarious gsize and gssize printf fixes. Fixes #372507.
Jan David Mol [Tue, 14 Nov 2006 11:54:14 +0000 (11:54 +0000)]
Various gsize and gssize printf fixes. Fixes #372507.

Original commit message from CVS:
Patch by: Jan David Mol <j dot j dot d dot mol at tudelft dot nl>
* gst-libs/gst/riff/riff-read.c: (gst_riff_parse_strf_auds),
(gst_riff_parse_strf_iavs):
* gst/subparse/gstsubparse.c: (convert_encoding):
* gst/tcp/gstmultifdsink.c:
(gst_multi_fd_sink_handle_client_write):
* gst/tcp/gsttcp.c: (gst_tcp_socket_write), (gst_tcp_socket_read),
(gst_tcp_read_buffer), (gst_tcp_gdp_read_caps),
(gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_render):
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new):
Various gsize and gssize printf fixes. Fixes #372507.

18 years agoext/vorbis/vorbisdec.*: First stab at vorbis reverse playback.
Wim Taymans [Mon, 13 Nov 2006 18:14:48 +0000 (18:14 +0000)]
ext/vorbis/vorbisdec.*: First stab at vorbis reverse playback.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_dec_push_forward), (vorbis_dec_push_reverse),
(vorbis_handle_data_packet), (vorbis_dec_decode_buffer),
(vorbis_dec_flush_decode), (vorbis_dec_chain_reverse),
(vorbis_dec_chain_forward), (vorbis_dec_chain):
* ext/vorbis/vorbisdec.h:
First stab at vorbis reverse playback.

18 years agogst-libs/gst/audio/gstbaseaudiosink.*: Make the clock sync code more accurate wrt...
Wim Taymans [Mon, 13 Nov 2006 17:30:17 +0000 (17:30 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.*: Make the clock sync code more accurate wrt resampling and playback at differen...

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:
Make the clock sync code more accurate wrt resampling and playback
at different rates.
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_commit_full), (gst_ring_buffer_commit):
* gst-libs/gst/audio/gstringbuffer.h:
Use better algorithm to interpolate sample rates.

18 years agoext/ogg/gstoggdemux.c: Improve a debug line slightly.
Michael Smith [Mon, 13 Nov 2006 15:31:01 +0000 (15:31 +0000)]
ext/ogg/gstoggdemux.c: Improve a debug line slightly.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page):
Improve a debug line slightly.

* ext/ogg/gstogmparse.c: (gst_ogm_parse_plugin_init):
Call gst_riff_init() in plugin_init, to avoid getting errors from
the debug system (unrelated changes to another plugin made this turn
up; not sure why).

18 years agowin32/common/libgsttag.def: Add missing symbol (#366492).
Sergey Scobich [Fri, 10 Nov 2006 19:20:21 +0000 (19:20 +0000)]
win32/common/libgsttag.def: Add missing symbol (#366492).

Original commit message from CVS:
Patch by: Sergey Scobich  <sergery.scobich at gmail com>
* win32/common/libgsttag.def:
Add missing symbol (#366492).

18 years agogst/playback/gststreamselector.c: Don't unref a NULL pad.
Tim-Philipp Müller [Fri, 10 Nov 2006 00:52:55 +0000 (00:52 +0000)]
gst/playback/gststreamselector.c: Don't unref a NULL pad.

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_stream_selector_dispose):
Don't unref a NULL pad.

18 years agoext/ogg/gstoggdemux.c: Implement first stab at reverse playback.
Christian Schaller [Thu, 9 Nov 2006 00:50:00 +0000 (00:50 +0000)]
ext/ogg/gstoggdemux.c: Implement first stab at reverse playback.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page),
(gst_ogg_demux_get_prev_page), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_handle_page), (gst_ogg_demux_chain),
(gst_ogg_demux_loop_forward), (gst_ogg_demux_loop_reverse),
(gst_ogg_demux_loop):
Implement first stab at reverse playback.

18 years agogst-libs/gst/riff/riff-media.c: add h263/h264 variants to the caps, Fixes #363118
Stefan Kost [Tue, 7 Nov 2006 07:22:32 +0000 (07:22 +0000)]
gst-libs/gst/riff/riff-media.c: add h263/h264 variants to the caps, Fixes #363118

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
add h263/h264 variants to the caps, Fixes #363118

18 years agogst-libs/gst/audio/: Use g_strerror instead of strerror so we get UTF-8.
Tim-Philipp Müller [Mon, 6 Nov 2006 18:24:59 +0000 (18:24 +0000)]
gst-libs/gst/audio/: Use g_strerror instead of strerror so we get UTF-8.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func):
* gst-libs/gst/audio/gstaudiosrc.c: (audioringbuffer_thread_func):
Use g_strerror instead of strerror so we get UTF-8.

18 years agoext/ogg/: Add/remove KW-DIRAC header here, since it is ogg-specific.
David Schleef [Sat, 4 Nov 2006 07:25:58 +0000 (07:25 +0000)]
ext/ogg/: Add/remove KW-DIRAC header here, since it is ogg-specific.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggmux.c:
Add/remove KW-DIRAC header here, since it is ogg-specific.

18 years agogst/typefind/gsttypefindfunctions.c: Recognise more mpeg4 elementary video streams.
Michael Smith [Fri, 3 Nov 2006 15:44:31 +0000 (15:44 +0000)]
gst/typefind/gsttypefindfunctions.c: Recognise more mpeg4 elementary video streams.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg4_video_type_find):
Recognise more mpeg4 elementary video streams.

18 years agogst/typefind/gsttypefindfunctions.c: Lower the probability of mp3 typefinding functio...
Edward Hervey [Thu, 2 Nov 2006 17:26:03 +0000 (17:26 +0000)]
gst/typefind/gsttypefindfunctions.c: Lower the probability of mp3 typefinding functions if we don't find a valid mp3 ...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find_at_offset):
Lower the probability of mp3 typefinding functions if we don't find a
valid mp3 header at the start of the file.
Closes #369482

18 years agoext/theora/: Document and partially implement an algorithm for doing reverse playback...
Wim Taymans [Thu, 2 Nov 2006 15:06:36 +0000 (15:06 +0000)]
ext/theora/: Document and partially implement an algorithm for doing reverse playback of theora video.

Original commit message from CVS:
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_init),
(theora_dec_sink_event), (theora_dec_chain_forward),
(theora_dec_flush_decode), (theora_dec_chain_reverse),
(theora_dec_chain):
Document and partially implement an algorithm for doing reverse playback
of theora video.

18 years agowin32/: Misc. VS8 build fixes: fix syntax in config.h, add missing entries to libgstt...
Sergey Scobich [Thu, 2 Nov 2006 14:18:45 +0000 (14:18 +0000)]
win32/: Misc. VS8 build fixes: fix syntax in config.h, add missing entries to libgsttag.def; add missing dependencies...

Original commit message from CVS:
Patch by: Sergey Scobich  <sergey.scobich at gmail com>
* win32/common/config.h:
* win32/common/interfaces-enumtypes.c:
* win32/common/libgsttag.def:
* win32/vs8/gst-plugins-base.sln:
* win32/vs8/libgstaudioresample.vcproj:
* win32/vs8/libgstinterfaces.vcproj:
* win32/vs8/libgstogg.vcproj:
* win32/vs8/libgstriff.vcproj:
* win32/vs8/libgsttag.vcproj:
* win32/vs8/libgsttheora.vcproj:
* win32/vs8/libgstvideoscale.vcproj:
* win32/vs8/libgstvorbis.vcproj:
Misc. VS8 build fixes: fix syntax in config.h, add missing entries
to libgsttag.def; add missing dependencies for some vs8 projects;
re-arrange placement of .def files in vs8 projects (#366334).

18 years agoext/ogg/gstogg.c: Remove unused variable.
Tim-Philipp Müller [Wed, 1 Nov 2006 14:08:31 +0000 (14:08 +0000)]
ext/ogg/gstogg.c: Remove unused variable.

Original commit message from CVS:
* ext/ogg/gstogg.c:
Remove unused variable.
* ext/ogg/gstoggdemux.c:
Fix Wim's surname in plugin description.

18 years agogst-plugins-base.spec.in: spec new .h file. Fixes #368310.
Wim Taymans [Tue, 31 Oct 2006 15:05:33 +0000 (15:05 +0000)]
gst-plugins-base.spec.in: spec new .h file. Fixes #368310.

Original commit message from CVS:
* gst-plugins-base.spec.in:
spec new .h file. Fixes #368310.

18 years agogst/tcp/gstmultifdsink.*: Make using the remove or clear signals threadsafe.
Michael Smith [Tue, 31 Oct 2006 14:19:07 +0000 (14:19 +0000)]
gst/tcp/gstmultifdsink.*: Make using the remove or clear signals threadsafe.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_add_full),
(gst_multi_fd_sink_remove), (gst_multi_fd_sink_clear),
(gst_multi_fd_sink_get_stats),
(gst_multi_fd_sink_remove_client_link),
(gst_multi_fd_sink_queue_buffer),
(gst_multi_fd_sink_handle_clients):
* gst/tcp/gstmultifdsink.h:
Make using the remove or clear signals threadsafe.
Make calling get-stats with an invalid fd not segfault.
Fixes 368273.

18 years agogst-libs/gst/rtp/: Fix and activate base audio payloader.
Wim Taymans [Tue, 31 Oct 2006 10:49:19 +0000 (10:49 +0000)]
gst-libs/gst/rtp/: Fix and activate base audio payloader.

Original commit message from CVS:
* gst-libs/gst/rtp/Makefile.am:
* gst-libs/gst/rtp/gstbasertpaudiopayload.c:
(gst_base_rtp_audio_payload_init):
Fix and activate base audio payloader.

18 years agogst/typefind/gsttypefindfunctions.c: Add typefinder for QuickTime Image Files (see...
Tim-Philipp Müller [Sat, 28 Oct 2006 17:22:57 +0000 (17:22 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinder for QuickTime Image Files (see #366156).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (qtif_type_find),
(plugin_init):
Add typefinder for QuickTime Image Files (see #366156).

18 years agogst/audioresample/gstaudioresample.c: Another typo fix (#366212).
Tim-Philipp Müller [Sat, 28 Oct 2006 16:00:51 +0000 (16:00 +0000)]
gst/audioresample/gstaudioresample.c: Another typo fix (#366212).

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c: (gst_audioresample_init):
Another typo fix (#366212).

18 years agogst/volume/gstvolume.c: Use stream time to synchronize volume property instead of...
Wim Taymans [Fri, 27 Oct 2006 17:13:35 +0000 (17:13 +0000)]
gst/volume/gstvolume.c: Use stream time to synchronize volume property instead of rather random timestamps. This is n...

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_transform_ip):
Use stream time to synchronize volume property instead of rather random
timestamps. This is needed when gnonlin does its time shifting.

18 years agoI'm too lazy to comment this
Wim Taymans [Fri, 27 Oct 2006 16:46:15 +0000 (16:46 +0000)]
I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***

18 years agoext/ogg/gstoggmux.c: Remove the pad from the element in release_pad.
Mark Nauwelaerts [Fri, 27 Oct 2006 16:45:30 +0000 (16:45 +0000)]
ext/ogg/gstoggmux.c: Remove the pad from the element in release_pad.

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet dot be>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_release_pad):
Remove the pad from the element in release_pad.

18 years agosys/: Explicitly create our custom buffer classes at a thread-safe location as well...
Tim-Philipp Müller [Fri, 27 Oct 2006 11:57:18 +0000 (11:57 +0000)]
sys/: Explicitly create our custom buffer classes at a thread-safe location as well, since g_type_class_ref() doesn't...

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_get_type):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_type):
Explicitly create our custom buffer classes at a thread-safe
location as well, since g_type_class_ref() doesn't seem to be
entirely thread-safe either (#365501; also see #349410).

18 years agogst-libs/gst/riff/riff-read.c: If strings in INFO chunk are not UTF-8, do something...
Tim-Philipp Müller [Thu, 26 Oct 2006 10:49:00 +0000 (10:49 +0000)]
gst-libs/gst/riff/riff-read.c: If strings in INFO chunk are not UTF-8, do something similar to what we do for ID3v1 t...

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (freeform_string_to_utf8),
(gst_riff_parse_info):
If strings in INFO chunk are not UTF-8, do something similar to
what we do for ID3v1 tags: check a number of environment variables
(GST_AVI_TAG_ENCODING, GST_RIFF_TAG_ENCODING, GST_TAG_ENCODING) for
character sets to try, otherwise try the current locale and/or fall
back on ISO-8859-1. Fixes #360552.

18 years agogst/videotestsrc/: Add a bunch of exciting new checkers patterns.
Tim-Philipp Müller [Mon, 23 Oct 2006 12:46:41 +0000 (12:46 +0000)]
gst/videotestsrc/: Add a bunch of exciting new checkers patterns.

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_pattern_get_type),
(gst_video_test_src_set_pattern):
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c: (gst_video_test_src_checkers1),
(gst_video_test_src_checkers2), (gst_video_test_src_checkers4),
(gst_video_test_src_checkers8):
* gst/videotestsrc/videotestsrc.h:
Add a bunch of exciting new checkers patterns.

18 years agogst/subparse/: Add support for TMPlayer-type subtitles (#362845).
Tim-Philipp Müller [Mon, 23 Oct 2006 12:06:44 +0000 (12:06 +0000)]
gst/subparse/: Add support for TMPlayer-type subtitles (#362845).

Original commit message from CVS:
* gst/subparse/Makefile.am:
* gst/subparse/gstsubparse.c:
(gst_sub_parse_data_format_autodetect),
(gst_sub_parse_format_autodetect), (handle_buffer),
(gst_sub_parse_chain), (gst_subparse_type_find), (plugin_init):
* gst/subparse/gstsubparse.h:
* gst/subparse/tmplayerparse.c: (tmplayer_parse_line),
(parse_tmplayer):
* gst/subparse/tmplayerparse.h:
Add support for TMPlayer-type subtitles (#362845).
* tests/check/elements/subparse.c: (test_tmplayer_do_test),
(GST_START_TEST), (subparse_suite):
Add some basic unit tests for the above.

18 years agotests/check/elements/audiorate.c: More tests for audiorate: inject buffers to check...
Tim-Philipp Müller [Mon, 23 Oct 2006 11:47:04 +0000 (11:47 +0000)]
tests/check/elements/audiorate.c: More tests for audiorate: inject buffers to check behaviour when buffers overlap.

Original commit message from CVS:
* tests/check/elements/audiorate.c: (test_injector_base_init),
(test_injector_class_init), (test_injector_chain),
(test_injector_init), (probe_cb), (do_perfect_stream_test),
(GST_START_TEST), (audiorate_suite):
More tests for audiorate: inject buffers to check behaviour when
buffers overlap.

18 years agotests/check/: Add some basic unit tests for audiorate. Disabled at the moment since...
Tim-Philipp Müller [Sat, 21 Oct 2006 16:39:54 +0000 (16:39 +0000)]
tests/check/: Add some basic unit tests for audiorate. Disabled at the moment since it doesn't pass yet (see bug #363...

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/audiorate.c: (probe_cb), (got_buf),
(do_perfect_stream_test), (GST_START_TEST), (audiorate_suite):
Add some basic unit tests for audiorate. Disabled at the moment
since it doesn't pass yet (see bug #363119).

18 years agogst/subparse/gstsubparse.c: Add missing closing tags for markup and fix broken markup...
Tim-Philipp Müller [Fri, 20 Oct 2006 17:02:19 +0000 (17:02 +0000)]
gst/subparse/gstsubparse.c: Add missing closing tags for markup and fix broken markup, otherwise pango won't render a...

Original commit message from CVS:
* gst/subparse/gstsubparse.c: (subrip_fix_up_markup),
(parse_subrip), (handle_buffer):
Add missing closing tags for markup and fix broken markup,
otherwise pango won't render anything (fixes #357531). Also,
make sure the text we send out is always NUL-terminated
(better safe than sorry etc.).
* tests/check/elements/subparse.c: (test_srt_do_test),
(test_srt):
Some more tests for .srt incl. tests for the above stuff.

18 years agosys/: Try to redraw borders only when needed. Apparently this consumes resources...
Stefan Kost [Fri, 20 Oct 2006 13:56:55 +0000 (13:56 +0000)]
sys/: Try to redraw borders only when needed. Apparently this consumes resources on small devices... :-O (#363607)

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

* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put):
Patch by: Stefan Kost  <ensonic@users.sf.net>
Try to redraw borders only when needed. Apparently this consumes
resources on small devices... :-O (#363607)

18 years agogst/tcp/gstmultifdsink.c: If caps change, then update the client's idea of the caps...
Michael Smith [Fri, 20 Oct 2006 13:54:19 +0000 (13:54 +0000)]
gst/tcp/gstmultifdsink.c: If caps change, then update the client's idea of the caps so that we don't end up re-sendin...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c:
(gst_multi_fd_sink_client_queue_buffer):
If caps change, then update the client's idea of the caps so that we
don't end up re-sending streamheaders for every single buffer after
the caps change.

18 years agoext/ogg/gstoggparse.c: Set caps on pushed buffers; fix up refcounting of caps objects.
Michael Smith [Fri, 20 Oct 2006 12:31:02 +0000 (12:31 +0000)]
ext/ogg/gstoggparse.c: Set caps on pushed buffers; fix up refcounting of caps objects.

Original commit message from CVS:
* ext/ogg/gstoggparse.c: (gst_ogg_parse_dispose),
(gst_ogg_parse_append_header), (gst_ogg_parse_chain):
Set caps on pushed buffers; fix up refcounting of caps objects.

18 years agogst/typefind/gsttypefindfunctions.c: Typefind mmsh header data packet to application...
Tim-Philipp Müller [Thu, 19 Oct 2006 14:09:30 +0000 (14:09 +0000)]
gst/typefind/gsttypefindfunctions.c: Typefind mmsh header data packet to application/x-mmsh (#362625).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mmsh_type_find),
(plugin_init):
Typefind mmsh header data packet to application/x-mmsh (#362625).

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