platform/upstream/gstreamer.git
20 years agoRemove signed field from caps factory
Johan Dahlin [Mon, 12 Jul 2004 10:26:26 +0000 (10:26 +0000)]
Remove signed field from caps factory

Original commit message from CVS:
Remove signed field from caps factory

20 years agoMake Johan happy.
Wim Taymans [Mon, 12 Jul 2004 09:15:37 +0000 (09:15 +0000)]
Make Johan happy.

Original commit message from CVS:
Make Johan happy.

20 years agogst/playback/: More fixes on reusing of the element.
Wim Taymans [Mon, 12 Jul 2004 09:11:40 +0000 (09:11 +0000)]
gst/playback/: More fixes on reusing of the element.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (print_feature), (gst_decode_bin_init),
(gst_decode_bin_dispose), (find_compatibles), (close_pad_link),
(try_to_link_1), (new_pad), (close_link), (type_found),
(gst_decode_bin_set_property), (gst_decode_bin_get_property),
(gst_decode_bin_change_state), (plugin_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_type),
(gst_play_base_bin_class_init), (gst_play_base_bin_init),
(gst_play_base_bin_dispose), (queue_overrun),
(gen_preroll_element), (remove_prerolls), (no_more_pads),
(new_stream), (setup_source), (gst_play_base_bin_set_property),
(gst_play_base_bin_get_property), (play_base_eos),
(gst_play_base_bin_change_state), (gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element),
(gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream),
(gst_play_base_bin_unlink_stream),
(gst_play_base_bin_get_streaminfo):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gen_video_element),
(gen_audio_element), (remove_sinks), (setup_sinks),
(gst_play_bin_change_state), (gst_play_bin_get_event_masks),
(gst_play_bin_send_event), (gst_play_bin_get_formats),
(gst_play_bin_convert), (gst_play_bin_get_query_types),
(gst_play_bin_query), (plugin_init):
* gst/playback/test4.c: (main):
More fixes on reusing of the element.

20 years agoext/mad/gstmad.c: allow seeking for other methods than just SET
Benjamin Otte [Sun, 11 Jul 2004 19:27:43 +0000 (19:27 +0000)]
ext/mad/gstmad.c: allow seeking for other methods than just SET

Original commit message from CVS:
* ext/mad/gstmad.c: (normal_seek):
allow seeking for other methods than just SET

20 years agogst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For float, "any" caps...
Andy Wingo [Sun, 11 Jul 2004 11:21:55 +0000 (11:21 +0000)]
gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For float, "any" caps -> buffer_frames=[0,MAX].

Original commit message from CVS:
2004-07-11  Andy Wingo  <wingo@pobox.com>

* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_link): For
float, "any" caps -> buffer_frames=[0,MAX].

* gst/interleave/interleave.c (interleave_getcaps): Seems the core
doesn't intersect our caps with the template any more. Do it
ourselves.
(interleave_buffered_loop): Use g_newa instead of malloc/free.

20 years agoexamples/seeking/seek.c: Don't consume all CPU in the idle loop.
Wim Taymans [Fri, 9 Jul 2004 14:33:15 +0000 (14:33 +0000)]
examples/seeking/seek.c: Don't consume all CPU in the idle loop.

Original commit message from CVS:
* examples/seeking/seek.c: (iterate):
Don't consume all CPU in the idle loop.

20 years agogst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting the pad functions...
Wim Taymans [Fri, 9 Jul 2004 14:11:02 +0000 (14:11 +0000)]
gst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting the pad functions so that the scheduler can use the...

Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_new_output_pad),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_process_private):
Add pad to element *after* setting the pad functions so that
the scheduler can use the correct ones.

20 years agoext/theora/theoradec.c: Sync to keyframe after seek
Wim Taymans [Fri, 9 Jul 2004 14:08:43 +0000 (14:08 +0000)]
ext/theora/theoradec.c: Sync to keyframe after seek

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_src_event), (theora_dec_chain):
Sync to keyframe after seek

20 years agodon't assert in state change
Thomas Vander Stichele [Fri, 9 Jul 2004 10:56:49 +0000 (10:56 +0000)]
don't assert in state change

Original commit message from CVS:
don't assert in state change

20 years agonew method. various debugging
Thomas Vander Stichele [Thu, 8 Jul 2004 17:34:08 +0000 (17:34 +0000)]
new method.  various debugging

Original commit message from CVS:
new method.  various debugging

20 years agoexamples/seeking/seek.c: Added playbin seeking example.
Wim Taymans [Thu, 8 Jul 2004 15:43:24 +0000 (15:43 +0000)]
examples/seeking/seek.c: Added playbin seeking example.

Original commit message from CVS:
* examples/seeking/seek.c: (make_dv_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline),
(make_playerbin_pipeline), (query_durations_elems),
(query_durations_pads), (query_positions_elems),
(query_positions_pads), (update_scale), (iterate), (stop_seek),
(main):
Added playbin seeking example.

20 years agouse macro to hash lookup
Thomas Vander Stichele [Thu, 8 Jul 2004 14:38:48 +0000 (14:38 +0000)]
use macro to hash lookup

Original commit message from CVS:
use macro to hash lookup

20 years agogst-libs/gst/play/play.c: - add debugging info
Thomas Vander Stichele [Thu, 8 Jul 2004 13:44:06 +0000 (13:44 +0000)]
gst-libs/gst/play/play.c: - add debugging info

Original commit message from CVS:

* gst-libs/gst/play/play.c: (gst_play_pipeline_setup),
(gst_play_get_length_callback), (gst_play_set_location),
(gst_play_seek_to_time), (gst_play_set_data_src),
(gst_play_set_video_sink), (gst_play_set_audio_sink),
(gst_play_set_visualization), (gst_play_connect_visualization),
(gst_play_get_sink_element):
- add debugging info
- fix looking up sink elements by iterating over complete caps
- put everything except for source and autoplugger in a complete bin

20 years agoext/alsa/: - add debugging info
Thomas Vander Stichele [Thu, 8 Jul 2004 13:40:36 +0000 (13:40 +0000)]
ext/alsa/: - add debugging info

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_drain_audio):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_flush_one_pad),
(gst_alsa_sink_check_event), (gst_alsa_sink_mmap),
(gst_alsa_sink_write), (gst_alsa_sink_loop):
* ext/alsa/gstalsasink.h:
- add debugging info
- clean up schizophrenia of data/buffer/event
- fix double event unref error

20 years agogst/playback/Makefile.am: Add headers to noinst
Wim Taymans [Thu, 8 Jul 2004 12:30:52 +0000 (12:30 +0000)]
gst/playback/Makefile.am: Add headers to noinst

Original commit message from CVS:
* gst/playback/Makefile.am:
Add headers to noinst

20 years agoupdate
Thomas Vander Stichele [Thu, 8 Jul 2004 07:44:01 +0000 (07:44 +0000)]
update

Original commit message from CVS:
update

20 years agosys/dxr3/Makefile.am: noinst_SOURCES should be nodist_SOURCES
David Schleef [Wed, 7 Jul 2004 22:02:27 +0000 (22:02 +0000)]
sys/dxr3/Makefile.am: noinst_SOURCES should be nodist_SOURCES

Original commit message from CVS:
* sys/dxr3/Makefile.am: noinst_SOURCES should be nodist_SOURCES

20 years agogst/playback/: More playbin fixes. Added README. Do better element filtering.
Wim Taymans [Wed, 7 Jul 2004 16:53:54 +0000 (16:53 +0000)]
gst/playback/: More playbin fixes. Added README. Do better element filtering.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/README:
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (print_feature), (gst_decode_bin_init),
(gst_decode_bin_dispose), (find_compatibles), (close_pad_link),
(try_to_link_1), (new_pad), (close_link), (type_found),
(gst_decode_bin_set_property), (gst_decode_bin_get_property),
(plugin_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_type),
(gst_play_base_bin_class_init), (gst_play_base_bin_init),
(gst_play_base_bin_dispose), (rebuild_pipeline), (queue_overrun),
(gen_preroll_element), (no_more_pads), (new_stream),
(setup_source), (gst_play_base_bin_set_property),
(gst_play_base_bin_get_property), (gst_play_base_bin_change_state),
(gst_play_base_bin_add_element),
(gst_play_base_bin_remove_element),
(gst_play_base_bin_mute_stream), (gst_play_base_bin_link_stream),
(gst_play_base_bin_unlink_stream),
(gst_play_base_bin_get_streaminfo):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gen_video_element),
(gen_audio_element), (setup_sinks), (gst_play_bin_change_state),
(gst_play_bin_get_event_masks), (gst_play_bin_send_event),
(gst_play_bin_get_formats), (gst_play_bin_convert),
(gst_play_bin_get_query_types), (gst_play_bin_query),
(plugin_init):
* gst/playback/gststreaminfo.c: (gst_stream_type_get_type),
(gst_stream_info_get_type), (gst_stream_info_class_init),
(gst_stream_info_init), (gst_stream_info_new),
(gst_stream_info_dispose), (gst_stream_info_set_property),
(gst_stream_info_get_property):
* gst/playback/gststreaminfo.h:
* gst/playback/test.c: (gen_video_element), (gen_audio_element),
(main):
* gst/playback/test2.c: (main):
* gst/playback/test3.c: (update_scale), (main):
More playbin fixes. Added README. Do better element filtering.
Added base class to preroll media. Added test apps.

20 years agodebugging; change sync method to picture
Thomas Vander Stichele [Wed, 7 Jul 2004 16:49:49 +0000 (16:49 +0000)]
debugging; change sync method to picture

Original commit message from CVS:
debugging; change sync method to picture

20 years agogst/videobox/gstvideobox.c: Use pad_alloc where possible.
Wim Taymans [Wed, 7 Jul 2004 16:35:02 +0000 (16:35 +0000)]
gst/videobox/gstvideobox.c: Use pad_alloc where possible.

Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_fill_get_type),
(gst_video_box_class_init), (gst_video_box_set_property),
(gst_video_box_i420), (gst_video_box_ayuv), (gst_video_box_chain):
Use pad_alloc where possible.

20 years agosys/oss/: Fix offset on osssrc.
Wim Taymans [Wed, 7 Jul 2004 16:11:39 +0000 (16:11 +0000)]
sys/oss/: Fix offset on osssrc.

Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_reset),
(gst_osselement_parse_caps):
* sys/oss/gstosselement.h:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Fix offset on osssrc.

20 years agoext/theora/: Fix theora granulepos calculation.
Wim Taymans [Wed, 7 Jul 2004 15:57:48 +0000 (15:57 +0000)]
ext/theora/: Fix theora granulepos calculation.

Original commit message from CVS:
* ext/theora/theora.c: (plugin_init):
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_chain):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_buffer_from_packet),
(theora_push_packet), (theora_enc_chain):
Fix theora granulepos calculation.
Fix overflow in duration/position calculation.
Bump rank to PRIMARY for theoradec.
Use granulepos of last packet to calculate position.
Set keyframe flag on buffers when needed.

20 years agogst/playback/Makefile.am: 'test' in bin_PROGRAMS? Are you serious? (Fixed, obviously.)
David Schleef [Wed, 7 Jul 2004 01:13:40 +0000 (01:13 +0000)]
gst/playback/Makefile.am: 'test' in bin_PROGRAMS?  Are you serious?  (Fixed, obviously.)

Original commit message from CVS:
* gst/playback/Makefile.am: 'test' in bin_PROGRAMS?  Are you
serious?  (Fixed, obviously.)

20 years agofix marshal includes
Thomas Vander Stichele [Tue, 6 Jul 2004 15:32:08 +0000 (15:32 +0000)]
fix marshal includes

Original commit message from CVS:
fix marshal includes

20 years agoadding czech translation
Thomas Vander Stichele [Tue, 6 Jul 2004 09:38:11 +0000 (09:38 +0000)]
adding czech translation

Original commit message from CVS:
adding czech translation

20 years agogst/playback/: More fixes, cleaned up playbin, make it use decodebin. Added threaded...
Wim Taymans [Mon, 5 Jul 2004 15:29:49 +0000 (15:29 +0000)]
gst/playback/: More fixes, cleaned up playbin, make it use decodebin. Added threaded property to playbin.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (gst_decode_bin_init), (gst_decode_bin_dispose),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(close_link), (type_found), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (gst_decode_bin_get_event_masks),
(gst_decode_bin_send_event), (gst_decode_bin_get_formats),
(gst_decode_bin_convert), (gst_decode_bin_get_query_types),
(gst_decode_bin_query), (plugin_init):
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (rebuild_pipeline), (get_audio_element),
(get_video_element), (new_pad), (setup_source),
(gst_play_bin_set_property), (gst_play_bin_get_property),
(gst_play_bin_change_state), (gst_play_bin_add_element),
(gst_play_bin_remove_element), (gst_play_bin_get_event_masks),
(gst_play_bin_send_event), (gst_play_bin_get_formats),
(gst_play_bin_convert), (gst_play_bin_get_query_types),
(gst_play_bin_query), (gst_play_bin_get_clock), (plugin_init):
* gst/playback/test.c: (main):
More fixes, cleaned up playbin, make it use decodebin. Added
threaded property to playbin.

20 years agoAdded some playback helper elements and some test apps, very alpha still.
Wim Taymans [Mon, 5 Jul 2004 11:14:30 +0000 (11:14 +0000)]
Added some playback helper elements and some test apps, very alpha still.

Original commit message from CVS:
* configure.ac:
* gst/playback/Makefile.am:
* gst/playback/decodetest.c: (main):
* gst/playback/gstdecodebin.c: (gst_decode_bin_get_type),
(gst_decode_bin_class_init), (gst_decode_bin_factory_filter),
(compare_ranks), (gst_decode_bin_init), (gst_decode_bin_dispose),
(find_compatibles), (close_pad_link), (try_to_link_1), (new_pad),
(close_link), (type_found), (gst_decode_bin_set_property),
(gst_decode_bin_get_property), (gst_decode_bin_change_state),
(gst_decode_bin_get_event_masks), (gst_decode_bin_send_event),
(gst_decode_bin_get_formats), (gst_decode_bin_convert),
(gst_decode_bin_get_query_types), (gst_decode_bin_query),
(plugin_init):
* gst/playback/gstplaybin.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (gst_play_bin_init),
(gst_play_bin_dispose), (gen_default_output), (rebuild_pipeline),
(collect_sink_pads), (find_compatibles), (close_pad_link),
(try_to_link_1), (new_pad), (close_link), (type_found),
(setup_source), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gst_play_bin_factory_filter),
(compare_ranks), (gst_play_bin_collect_factories),
(gst_play_bin_change_state), (gst_play_bin_add_element),
(gst_play_bin_remove_element), (gst_play_bin_get_event_masks),
(gst_play_bin_send_event), (gst_play_bin_get_formats),
(gst_play_bin_convert), (gst_play_bin_get_query_types),
(gst_play_bin_query), (gst_play_bin_get_clock), (plugin_init):
* gst/playback/test.c: (main):
Added some playback helper elements and some test apps, very alpha
still.

20 years agoext/alsa/gstalsa.c: only restart audio when we indeed have an xrun to fix repeated...
Benjamin Otte [Sun, 4 Jul 2004 16:02:15 +0000 (16:02 +0000)]
ext/alsa/gstalsa.c: only restart audio when we indeed have an xrun to fix repeated xruns. Fix suggested by Giuliano P...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_xrun_recovery):
only restart audio when we indeed have an xrun to fix repeated
xruns. Fix suggested by Giuliano Pochini.

20 years agoext/alsa/gstalsaplugin.c: Disable call to gst_debug_log() if debugging is disabled...
David Schleef [Sat, 3 Jul 2004 23:35:36 +0000 (23:35 +0000)]
ext/alsa/gstalsaplugin.c: Disable call to gst_debug_log() if debugging is disabled (bug #145118)

Original commit message from CVS:
* ext/alsa/gstalsaplugin.c: (gst_alsa_error_wrapper): Disable
call to gst_debug_log() if debugging is disabled (bug #145118)

20 years agoext/alsa/gstalsa.c: use our own functions for restarting the alsa device.
Benjamin Otte [Sat, 3 Jul 2004 12:48:30 +0000 (12:48 +0000)]
ext/alsa/gstalsa.c: use our own functions for restarting the alsa device.

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_xrun_recovery):
use our own functions for restarting the alsa device.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
I should apply patches myself - use MIN for the third argument, not
the second, this fixes seeking

20 years agoext/flac/gstflacdec.c: (gst_flacdec_write): Actually, GST_PAD_CAPS() has nothing...
David Schleef [Sat, 3 Jul 2004 04:27:18 +0000 (04:27 +0000)]
ext/flac/gstflacdec.c: (gst_flacdec_write):  Actually, GST_PAD_CAPS() has nothing to do with the logic.

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_class_init),
(gst_flacdec_write):  Actually, GST_PAD_CAPS() has nothing to
do with the logic.

20 years agoext/flac/gstflacdec.c: Set duration on output buffers. Fix logic mistake. (bug...
David Schleef [Sat, 3 Jul 2004 04:21:39 +0000 (04:21 +0000)]
ext/flac/gstflacdec.c: Set duration on output buffers.  Fix logic mistake.  (bug #144866)

Original commit message from CVS:
* ext/flac/gstflacdec.c: (gst_flacdec_write):  Set duration on
output buffers.  Fix logic mistake.  (bug #144866)

20 years agogst-libs/gst/xoverlay/Makefile.am: xoverlay no longer depends on X. (bug #144753)
David Schleef [Sat, 3 Jul 2004 03:06:34 +0000 (03:06 +0000)]
gst-libs/gst/xoverlay/Makefile.am: xoverlay no longer depends on X.  (bug #144753)

Original commit message from CVS:
* gst-libs/gst/xoverlay/Makefile.am: xoverlay no longer depends
on X.  (bug #144753)

20 years agogst/wavenc/gstwavenc.c: Switch to GST_WRITE_UINT32_LE macros (bug #144624)
David Schleef [Sat, 3 Jul 2004 02:54:53 +0000 (02:54 +0000)]
gst/wavenc/gstwavenc.c: Switch to GST_WRITE_UINT32_LE macros (bug #144624)

Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_setup),
(gst_wavenc_stop_file): Switch to GST_WRITE_UINT32_LE macros
(bug #144624)
* sys/oss/gstosselement.c: (gst_osselement_probe_caps),
(gst_osselement_rate_probe_check): Add another workaround for
buggy drivers (bug #145336)

20 years agogst/tcp/gstmultifdsink.c: Most systems don't have MSG_NOSIGNAL.
David Schleef [Fri, 2 Jul 2004 18:02:14 +0000 (18:02 +0000)]
gst/tcp/gstmultifdsink.c: Most systems don't have MSG_NOSIGNAL.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_handle_client_write):
Most systems don't have MSG_NOSIGNAL.

20 years agoclean up install/dist problem
Thomas Vander Stichele [Fri, 2 Jul 2004 10:02:13 +0000 (10:02 +0000)]
clean up install/dist problem

Original commit message from CVS:
clean up install/dist problem

20 years agoext/ogg/gstogg.c: we require bytestream now
Benjamin Otte [Fri, 2 Jul 2004 03:41:22 +0000 (03:41 +0000)]
ext/ogg/gstogg.c: we require bytestream now

Original commit message from CVS:
* ext/ogg/gstogg.c: (plugin_init):
we require bytestream now
* ext/ogg/gstoggdemux.c:
huge diff to implement chain setup in a fast and generic way. This
improves tag reading and startup of huge files (read: Theora videos)
quite a bit. It probably contains bugs, too, so please test.
Seeking is not improved to the fast method.

20 years agoext/ogg/: Fix memleak in oggdemux when running unconnected pads. doc update in mux...
Wim Taymans [Tue, 29 Jun 2004 15:25:10 +0000 (15:25 +0000)]
ext/ogg/: Fix memleak in oggdemux when running unconnected pads. doc update in mux, start working on keyframe mode.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
* ext/ogg/gstoggmux.c:
Fix memleak in oggdemux when running unconnected pads.
doc update in mux, start working on keyframe mode.

20 years agosys/oss/: advertise correct template caps - we indeed do non-native endianness and...
Benjamin Otte [Tue, 29 Jun 2004 11:20:25 +0000 (11:20 +0000)]
sys/oss/: advertise correct template caps - we indeed do non-native endianness and 8bit audio has no endianness

Original commit message from CVS:
* sys/oss/gstosssink.c:
* sys/oss/gstosssrc.c:
advertise correct template caps - we indeed do non-native endianness
and 8bit audio has no endianness
* sys/ximage/ximagesink.c: (gst_ximagesink_getcaps):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_getcaps):
avoid (wrong) duplications in getcaps function and return
template caps

20 years agogst/tcp/gstmultifdsink.c: Fix wrong GList iteration that could crash the server when...
Wim Taymans [Tue, 29 Jun 2004 10:28:29 +0000 (10:28 +0000)]
gst/tcp/gstmultifdsink.c: Fix wrong GList iteration that could crash the server when more then 2 clients disconnect a...

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_multifdsink_class_init), (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_clear),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_thread),
(gst_multifdsink_init_send), (gst_multifdsink_close):
Fix wrong GList iteration that could crash the server when
more then 2 clients disconnect at the same time. Read all the
pending commands in one batch to recover from command storms under
very heavy load.

20 years agogst/videomixer/videomixer.c: Avoid divide by zero, choose masterpad as the pad with...
Wim Taymans [Mon, 28 Jun 2004 07:28:49 +0000 (07:28 +0000)]
gst/videomixer/videomixer.c: Avoid divide by zero, choose masterpad as the pad with the highest framerate.

Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_class_init), (gst_videomixer_pad_get_property),
(gst_videomixer_pad_set_property),
(gst_videomixer_pad_sinkconnect), (gst_videomixer_pad_init),
(gst_video_mixer_background_get_type), (gst_videomixer_get_type),
(gst_videomixer_class_init), (gst_videomixer_init),
(gst_videomixer_request_new_pad), (gst_videomixer_blend_ayuv_i420),
(pad_zorder_compare), (gst_videomixer_sort_pads),
(gst_videomixer_fill_checker), (gst_videomixer_fill_color),
(gst_videomixer_fill_queues), (gst_videomixer_blend_buffers),
(gst_videomixer_update_queues), (gst_videomixer_loop),
(plugin_init):
Avoid divide by zero, choose masterpad as the pad with the highest
framerate.

20 years agosys/: I prefer locking the mutex in the function directly. We might want to call...
Julien Moutte [Sun, 27 Jun 2004 19:02:29 +0000 (19:02 +0000)]
sys/: I prefer locking the mutex in the function directly. We might want to call it from somewhere else one day.

Original commit message from CVS:
2004-06-27  Julien Moutte  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate),
(gst_ximagesink_xwindow_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate),
(gst_xvimagesink_xwindow_new): I prefer locking the mutex in the
function directly. We might want to call it from somewhere else one day.

20 years agosys/: Trying to fix the random behaviour of window decorations.
Julien Moutte [Sun, 27 Jun 2004 18:53:03 +0000 (18:53 +0000)]
sys/: Trying to fix the random behaviour of window decorations.

Original commit message from CVS:
2004-06-27  Julien Moutte  <julien@moutte.net>

* sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_decorate),
(gst_ximagesink_xwindow_new):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_decorate),
(gst_xvimagesink_xwindow_new): Trying to fix the random behaviour of
window decorations.

20 years agoext/dv/gstdvdec.*: Implement drop_factor property to lower the framerate with a factor.
Wim Taymans [Sun, 27 Jun 2004 16:38:41 +0000 (16:38 +0000)]
ext/dv/gstdvdec.*: Implement drop_factor property to lower the framerate with a factor.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_video_getcaps), (gst_dvdec_video_link),
(gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state),
(gst_dvdec_set_property), (gst_dvdec_get_property):
* ext/dv/gstdvdec.h:
Implement drop_factor property to lower the framerate with
a factor.

20 years agounbreak install
Thomas Vander Stichele [Sun, 27 Jun 2004 15:42:14 +0000 (15:42 +0000)]
unbreak install

Original commit message from CVS:
unbreak install

20 years agoext/dv/gstdvdec.*: Fix timestamp, duration and offset of the buffers.
Wim Taymans [Sun, 27 Jun 2004 14:42:09 +0000 (14:42 +0000)]
ext/dv/gstdvdec.*: Fix timestamp, duration and offset of the buffers.

Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_push), (gst_dvdec_loop),
(gst_dvdec_change_state):
* ext/dv/gstdvdec.h:
Fix timestamp, duration and offset of the buffers.

20 years agogst/tcp/: More multifdsink fixes, more recovery policy fixes.
Wim Taymans [Sun, 27 Jun 2004 11:15:23 +0000 (11:15 +0000)]
gst/tcp/: More multifdsink fixes, more recovery policy fixes.

Original commit message from CVS:
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_multifdsink_class_init), (gst_multifdsink_add),
(gst_multifdsink_remove), (gst_multifdsink_clear),
(gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_thread),
(gst_multifdsink_init_send), (gst_multifdsink_close):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpserversink.c:
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_handle_select), (gst_tcpserversink_close):
More multifdsink fixes, more recovery policy fixes.
Removed stupid g_print

20 years agogst/tcp/: Added multifdsink, made tcpserversink a subclass of fdsink, removed one...
Wim Taymans [Sat, 26 Jun 2004 16:49:42 +0000 (16:49 +0000)]
gst/tcp/: Added multifdsink, made tcpserversink a subclass of fdsink, removed one of the locks, added recovery policy...

Original commit message from CVS:
* gst/tcp/Makefile.am:
* gst/tcp/gstmultifdsink.c: (gst_recover_policy_get_type),
(gst_multifdsink_get_type), (gst_multifdsink_base_init),
(gst_multifdsink_class_init), (gst_multifdsink_init),
(gst_multifdsink_debug_fdset), (gst_multifdsink_client_remove),
(gst_multifdsink_handle_client_read),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_handle_client_write),
(gst_multifdsink_recover_client), (gst_multifdsink_queue_buffer),
(gst_multifdsink_handle_clients), (gst_multifdsink_thread),
(gst_multifdsink_chain), (gst_multifdsink_set_property),
(gst_multifdsink_get_property), (gst_multifdsink_init_send),
(gst_multifdsink_close), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcpplugin.c: (plugin_init):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_get_type),
(gst_tcpserversink_class_init), (gst_tcpserversink_init),
(gst_tcpserversink_handle_server_read),
(gst_tcpserversink_handle_select),
(gst_tcpserversink_set_property), (gst_tcpserversink_get_property),
(gst_tcpserversink_init_send), (gst_tcpserversink_close):
* gst/tcp/gsttcpserversink.h:
Added multifdsink, made tcpserversink a subclass of fdsink, removed
one of the locks, added recovery policy to multifdsink.

20 years agofix videorate decision, add latency offset to v4l
Thomas Vander Stichele [Sat, 26 Jun 2004 15:58:34 +0000 (15:58 +0000)]
fix videorate decision, add latency offset to v4l

Original commit message from CVS:
fix videorate decision, add latency offset to v4l

20 years agofix debugging
Thomas Vander Stichele [Sat, 26 Jun 2004 15:43:55 +0000 (15:43 +0000)]
fix debugging

Original commit message from CVS:
fix debugging

20 years agofix wrong offsets
Thomas Vander Stichele [Fri, 25 Jun 2004 18:50:31 +0000 (18:50 +0000)]
fix wrong offsets

Original commit message from CVS:
fix wrong offsets

20 years agomake provided clock run in sync
Thomas Vander Stichele [Fri, 25 Jun 2004 17:11:31 +0000 (17:11 +0000)]
make provided clock run in sync

Original commit message from CVS:
make provided clock run in sync

20 years agogst/tcp/gsttcpserversink.*: Serversink rewrite. Really do non blocking writes to...
Wim Taymans [Fri, 25 Jun 2004 17:06:51 +0000 (17:06 +0000)]
gst/tcp/gsttcpserversink.*: Serversink rewrite. Really do non blocking writes to clients and maintain an internal que...

Original commit message from CVS:
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_init), (gst_tcpserversink_handle_server_read),
(gst_tcpserversink_client_remove),
(gst_tcpserversink_handle_client_read),
(gst_tcpserversink_client_queue_data),
(gst_tcpserversink_client_queue_caps),
(gst_tcpserversink_client_queue_buffer),
(gst_tcpserversink_handle_client_write),
(gst_tcpserversink_queue_buffer),
(gst_tcpserversink_handle_clients), (gst_tcpserversink_thread),
(gst_tcpserversink_chain), (gst_tcpserversink_set_property),
(gst_tcpserversink_get_property), (gst_tcpserversink_init_send),
(gst_tcpserversink_close):
* gst/tcp/gsttcpserversink.h:
Serversink rewrite. Really do non blocking writes to clients and
maintain an internal queue to handle slower clients while not
disturbing fast clients.

20 years agodon't override offset and offset_end
Thomas Vander Stichele [Fri, 25 Jun 2004 13:05:11 +0000 (13:05 +0000)]
don't override offset and offset_end

Original commit message from CVS:
don't override offset and offset_end

20 years agoAdd name=source to the wavparse pipeline
Iain Holmes [Fri, 25 Jun 2004 11:57:25 +0000 (11:57 +0000)]
Add name=source to the wavparse pipeline

Original commit message from CVS:
Add name=source to the wavparse pipeline

20 years agoext/theora/theoraenc.c (theora_enc_chain): Call gst_pad_try_set_caps instead of gst_p...
Johan Dahlin [Thu, 24 Jun 2004 16:48:17 +0000 (16:48 +0000)]
ext/theora/theoraenc.c (theora_enc_chain): Call gst_pad_try_set_caps instead of gst_pad_set_explicit_caps so the stre...

Original commit message from CVS:
* ext/theora/theoraenc.c (theora_enc_chain): Call
gst_pad_try_set_caps instead of gst_pad_set_explicit_caps so the
streamheader caps are set correctly.

20 years agorespect minimum bitrate
Thomas Vander Stichele [Thu, 24 Jun 2004 15:51:24 +0000 (15:51 +0000)]
respect minimum bitrate

Original commit message from CVS:
respect minimum bitrate

20 years agofix sample rate range
Thomas Vander Stichele [Thu, 24 Jun 2004 15:44:53 +0000 (15:44 +0000)]
fix sample rate range

Original commit message from CVS:
fix sample rate range

20 years agoresolve ambiguities
Thomas Vander Stichele [Thu, 24 Jun 2004 14:56:21 +0000 (14:56 +0000)]
resolve ambiguities

Original commit message from CVS:
resolve ambiguities

20 years agoupdated from release
Thomas Vander Stichele [Thu, 24 Jun 2004 13:44:50 +0000 (13:44 +0000)]
updated from release

Original commit message from CVS:
updated from release

20 years agoext/alsa/: Use alsa trigger_tstamp to get the timestamp of the first sample in the...
Wim Taymans [Thu, 24 Jun 2004 12:53:17 +0000 (12:53 +0000)]
ext/alsa/: Use alsa trigger_tstamp to get the timestamp of the first sample in the buffer for more precise sync. Some...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_start), (gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init),
(gst_alsa_src_update_avail), (gst_alsa_src_loop):
Use alsa trigger_tstamp to get the timestamp of the first
sample in the buffer for more precise sync. Some cleanups.

20 years agogst/: Added some logging, fixed an overflow bug in videorate.
Wim Taymans [Thu, 24 Jun 2004 12:45:26 +0000 (12:45 +0000)]
gst/: Added some logging, fixed an overflow bug in videorate.

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_link),
(gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property):
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_chain):
Added some logging, fixed an overflow bug in videorate.

20 years agoext/kio/Makefile.am: fix for builddir != srcdir and distcheck
Benjamin Otte [Thu, 24 Jun 2004 03:19:07 +0000 (03:19 +0000)]
ext/kio/Makefile.am: fix for builddir != srcdir and distcheck

Original commit message from CVS:
* ext/kio/Makefile.am:
fix for builddir != srcdir and distcheck

20 years agodon't include -enumtypes.[ch] or -marshal.[ch] files in the disted tarball.
Benjamin Otte [Thu, 24 Jun 2004 01:43:54 +0000 (01:43 +0000)]
don't include -enumtypes.[ch] or -marshal.[ch] files in the disted tarball.

Original commit message from CVS:
* gst-libs/gst/colorbalance/Makefile.am:
* gst-libs/gst/mixer/Makefile.am:
* gst-libs/gst/play/Makefile.am:
* gst-libs/gst/tuner/Makefile.am:
* gst/tcp/Makefile.am:
* sys/dxr3/Makefile.am:
don't include -enumtypes.[ch] or -marshal.[ch] files in the disted
tarball.
Also add all *.list files that were missing.
* Makefile.am:
add a distcheck hook to ensure the above doesn't happen again.

20 years agoext/Makefile.am: s/DTS_DIR=dvdread/DTS_DIR=dts/
David I. Lehn [Thu, 24 Jun 2004 01:16:02 +0000 (01:16 +0000)]
ext/Makefile.am: s/DTS_DIR=dvdread/DTS_DIR=dts/

Original commit message from CVS:
* ext/Makefile.am: s/DTS_DIR=dvdread/DTS_DIR=dts/

20 years agom4/Makefile.am: Distribute gst-fionread.m4.
Colin Walters [Wed, 23 Jun 2004 19:41:37 +0000 (19:41 +0000)]
m4/Makefile.am: Distribute gst-fionread.m4.

Original commit message from CVS:
2004-06-23  Colin Walters  <walters@redhat.com>

* m4/Makefile.am: Distribute gst-fionread.m4.

20 years agoback to dev
Thomas Vander Stichele [Wed, 23 Jun 2004 18:21:43 +0000 (18:21 +0000)]
back to dev

Original commit message from CVS:
back to dev

20 years agoext/alsa/: Add clock to alsasrc. Take new capture timestamp when restarting after...
Wim Taymans [Wed, 23 Jun 2004 18:08:26 +0000 (18:08 +0000)]
ext/alsa/: Add clock to alsasrc. Take new capture timestamp when restarting after an overrun. Split up some functions...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start),
(gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
(gst_alsa_sink_loop), (gst_alsa_sink_get_time):
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init),
(gst_alsa_src_get_time), (gst_alsa_src_update_avail),
(gst_alsa_src_loop):
Add clock to alsasrc. Take new capture timestamp when
restarting after an overrun. Split up some functions between
alsasrc ans alsasink.

20 years agomerge back from release
Thomas Vander Stichele [Wed, 23 Jun 2004 16:57:16 +0000 (16:57 +0000)]
merge back from release

Original commit message from CVS:
merge back from release

20 years agogst/audiorate/gstaudiorate.c: Implement sample dropping and notify
Wim Taymans [Wed, 23 Jun 2004 11:06:10 +0000 (11:06 +0000)]
gst/audiorate/gstaudiorate.c: Implement sample dropping and notify

Original commit message from CVS:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_class_init),
(gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property):
Implement sample dropping and notify

20 years agoext/theora/theoraenc.c: Some cleanups, make sure the timestamps are correct.
Wim Taymans [Tue, 22 Jun 2004 16:29:20 +0000 (16:29 +0000)]
ext/theora/theoraenc.c: Some cleanups, make sure the timestamps are correct.

Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_buffer_from_packet),
(theora_push_packet), (theora_enc_chain):
Some cleanups, make sure the timestamps are correct.

20 years agoext/alsa/: Cleanups, take queued samples into account when reporting the time.
Wim Taymans [Tue, 22 Jun 2004 12:01:32 +0000 (12:01 +0000)]
ext/alsa/: Cleanups, take queued samples into account when reporting the time.

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_time), (gst_alsa_clock_update),
(gst_alsa_change_state), (gst_alsa_update_avail),
(gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_loop):
Cleanups, take queued samples into account when reporting
the time.

20 years agogst/videorate/gstvideorate.c: Initialize the property as well.
Wim Taymans [Tue, 22 Jun 2004 11:57:22 +0000 (11:57 +0000)]
gst/videorate/gstvideorate.c: Initialize the property as well.

Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_init):
Initialize the property as well.

20 years agogst/videorate/gstvideorate.c: Add property to make videorate silent.
Wim Taymans [Tue, 22 Jun 2004 11:19:46 +0000 (11:19 +0000)]
gst/videorate/gstvideorate.c: Add property to make videorate silent.

Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_set_property), (gst_videorate_get_property):
Add property to make videorate silent.
Add property to prefer new frames over old ones.

20 years agosys/osxvideo/Makefile.am: Workaround so that the osxvideo .so file gets linked with the
Zaheer Abbas Merali [Tue, 22 Jun 2004 10:28:05 +0000 (10:28 +0000)]
sys/osxvideo/Makefile.am: Workaround so that the osxvideo .so file gets linked with the

Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* sys/osxvideo/Makefile.am:
Workaround so that the osxvideo .so file gets linked with the

20 years agosys/osxaudio/Makefile.am: Workaround so that the osxaudio .so file gets linked with the
Zaheer Abbas Merali [Tue, 22 Jun 2004 10:00:53 +0000 (10:00 +0000)]
sys/osxaudio/Makefile.am: Workaround so that the osxaudio .so file gets linked with the

Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* sys/osxaudio/Makefile.am:
Workaround so that the osxaudio .so file gets linked with the

20 years agoconfigure.ac: Whoops, my fault...fixed build issues
Zaheer Abbas Merali [Tue, 22 Jun 2004 06:27:37 +0000 (06:27 +0000)]
configure.ac: Whoops, my fault...fixed build issues

Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* configure.ac:
Whoops, my fault...fixed build issues

20 years agoconfigure.ac: Add objective-c support if running in Darwin/Mac OS X
Zaheer Abbas Merali [Tue, 22 Jun 2004 00:21:51 +0000 (00:21 +0000)]
configure.ac: Add objective-c support if running in Darwin/Mac OS X

Original commit message from CVS:
2004-06-22  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* configure.ac:
Add objective-c support if running in Darwin/Mac OS X
* sys/Makefile.am:
* sys/osxvideo:
* sys/osxvideo/Makefile.am:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
Add osxvideosink, a cocoa-based osx video sink

20 years agoext/dvdnav/gst-dvd: Grab the gconf key from the right spot
Jan Schmidt [Fri, 18 Jun 2004 22:32:44 +0000 (22:32 +0000)]
ext/dvdnav/gst-dvd: Grab the gconf key from the right spot

Original commit message from CVS:
* ext/dvdnav/gst-dvd: Grab the gconf key from the right spot
* gst/debug/gstnavseek.c: (gst_navseek_init),
(gst_navseek_segseek), (gst_navseek_handle_src_event),
(gst_navseek_chain):
* gst/debug/gstnavseek.h: Add 's', 'e' and 'l' keypresses to navseek
to define the start,end and loop parameters of a segment seek.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_init),
(gst_videotestsrc_get_event_masks),
(gst_videotestsrc_handle_src_event), (gst_videotestsrc_get):
* gst/videotestsrc/gstvideotestsrc.h:
Add seeking support to videotestsrc
Initialise the timestamp_offset variable.

20 years agoext/sidplay/gstsiddec.cc: Fix negotiation and set correct end offset.
Wim Taymans [Fri, 18 Jun 2004 11:46:32 +0000 (11:46 +0000)]
ext/sidplay/gstsiddec.cc: Fix negotiation and set correct end offset.

Original commit message from CVS:
* ext/sidplay/gstsiddec.cc:
Fix negotiation and set correct end offset.

20 years agoread caps in connect
Thomas Vander Stichele [Thu, 17 Jun 2004 18:20:43 +0000 (18:20 +0000)]
read caps in connect

Original commit message from CVS:
read caps in connect

20 years agonotify; don't overlimit
Thomas Vander Stichele [Thu, 17 Jun 2004 17:07:50 +0000 (17:07 +0000)]
notify; don't overlimit

Original commit message from CVS:
notify; don't overlimit

20 years agoadd autoprobe option fixes use try_capture
Thomas Vander Stichele [Thu, 17 Jun 2004 17:06:23 +0000 (17:06 +0000)]
add autoprobe option fixes use try_capture

Original commit message from CVS:
add autoprobe option
fixes
use try_capture

20 years agofix
Thomas Vander Stichele [Thu, 17 Jun 2004 14:33:19 +0000 (14:33 +0000)]
fix

Original commit message from CVS:
fix

20 years agorun as finalize, not dispose
Thomas Vander Stichele [Thu, 17 Jun 2004 14:15:23 +0000 (14:15 +0000)]
run as finalize, not dispose

Original commit message from CVS:
run as finalize, not dispose

20 years agoext/alsa/: Make the xrun code timestamp and offset the buffers correctly. moved the...
Wim Taymans [Thu, 17 Jun 2004 14:10:20 +0000 (14:10 +0000)]
ext/alsa/: Make the xrun code timestamp and offset the buffers correctly. moved the clock to the base class, use alsa...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_init), (gst_alsa_dispose),
(gst_alsa_get_time), (gst_alsa_xrun_recovery):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_get_type):
* ext/alsa/gstalsasrc.c: (gst_alsa_src_init), (gst_alsa_src_loop),
(gst_alsa_src_change_state):
* ext/alsa/gstalsasrc.h:
Make the xrun code timestamp and offset the buffers correctly.
moved the clock to the base class, use alsa methods to get time.
Do correct timestamping on outgoing buffers.

20 years agogst/audiorate/: Added an audiorate converter that fills in gaps.
Wim Taymans [Thu, 17 Jun 2004 13:45:50 +0000 (13:45 +0000)]
gst/audiorate/: Added an audiorate converter that fills in gaps.

Original commit message from CVS:
* gst/audiorate/Makefile.am:
* gst/audiorate/gstaudiorate.c: (gst_audiorate_get_type),
(gst_audiorate_base_init), (gst_audiorate_class_init),
(gst_audiorate_link), (gst_audiorate_init), (gst_audiorate_chain),
(gst_audiorate_set_property), (gst_audiorate_get_property),
(gst_audiorate_change_state), (plugin_init):
Added an audiorate converter that fills in gaps.

20 years agoext/tcp/*: Revert Zaheer changes, to make things actually work again.
Johan Dahlin [Thu, 17 Jun 2004 09:10:57 +0000 (09:10 +0000)]
ext/tcp/*: Revert Zaheer changes, to make things actually work again.

Original commit message from CVS:
* ext/tcp/*: Revert Zaheer changes, to make things actually work again.

20 years agosys/v4l/: Added a copy mode to v4lsrc where it will output a copied version of its...
Wim Taymans [Wed, 16 Jun 2004 15:07:57 +0000 (15:07 +0000)]
sys/v4l/: Added a copy mode to v4lsrc where it will output a copied version of its internal hardware buffer.

Original commit message from CVS:
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_sync_mode_get_type),
(gst_v4lsrc_class_init), (gst_v4lsrc_init), (gst_v4lsrc_get_fps),
(gst_v4lsrc_get), (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
* sys/v4l/gstv4lsrc.h:
Added a copy mode to v4lsrc where it will output a copied version
of its internal hardware buffer.
Fix the wrong FLAG_SET usage. The flags are integers, not bits, you
can't | them.

20 years agosys/oss/gstosssrc.c: Timestamp fixes.
Wim Taymans [Wed, 16 Jun 2004 10:48:04 +0000 (10:48 +0000)]
sys/oss/gstosssrc.c: Timestamp fixes.

Original commit message from CVS:
* sys/oss/gstosssrc.c: (gst_osssrc_get):
Timestamp fixes.

20 years agosys/v4l/: Added a sync mode enum property to control v4lsrc timestamp method
Wim Taymans [Wed, 16 Jun 2004 10:13:51 +0000 (10:13 +0000)]
sys/v4l/: Added a sync mode enum property to control v4lsrc timestamp method

Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_sync_mode_get_type),
(gst_v4lsrc_class_init), (gst_v4lsrc_init), (gst_v4lsrc_get_fps),
(gst_v4lsrc_get), (gst_v4lsrc_set_property),
(gst_v4lsrc_get_property):
* sys/v4l/gstv4lsrc.h:
* sys/v4l/v4l-overlay_calls.c: (gst_v4l_set_overlay):
Added a sync mode enum property to control v4lsrc timestamp method
Removed the use-fixed-fps property and moved functionality in
the enum.
Don't error on an error value from v4l-conf, it might not always
be a real error.

20 years agogst/videorate/: Added a video timestamp corrector.
Wim Taymans [Wed, 16 Jun 2004 09:39:02 +0000 (09:39 +0000)]
gst/videorate/: Added a video timestamp corrector.

Original commit message from CVS:
* gst/videorate/Makefile.am:
* gst/videorate/gstvideorate.c: (gst_videorate_get_type),
(gst_videorate_base_init), (gst_videorate_class_init),
(gst_videorate_getcaps), (gst_videorate_link),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_set_property), (gst_videorate_get_property),
(gst_videorate_change_state), (plugin_init):
Added a video timestamp corrector.

20 years agofixed a potential leak with previous commit
Zaheer Abbas Merali [Tue, 15 Jun 2004 21:58:18 +0000 (21:58 +0000)]
fixed a potential leak with previous commit

Original commit message from CVS:
2004-06-15  Zaheer Abbas Merali  <zaheerabbas at merali.org>

fixed a potential leak with previous commit

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):

20 years agogst-libs/gst/riff/riff-read.c: Added missing refcount, fixes bug #144425
Zaheer Abbas Merali [Tue, 15 Jun 2004 21:25:36 +0000 (21:25 +0000)]
gst-libs/gst/riff/riff-read.c: Added missing refcount, fixes bug #144425

Original commit message from CVS:
2004-06-15  Zaheer Abbas Merali  <zaheerabbas at merali.org>

* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_head):
Added missing refcount, fixes bug #144425
Cheers Tim for finding the bug

20 years agoparanoia cleanups and a sync fix
Thomas Vander Stichele [Tue, 15 Jun 2004 09:11:06 +0000 (09:11 +0000)]
paranoia cleanups and a sync fix

Original commit message from CVS:
paranoia cleanups and a sync fix

20 years agoext/cdparanoia/gstcdparanoia.c: Send discont events and change timestamps appropriate...
David Schleef [Mon, 14 Jun 2004 20:33:56 +0000 (20:33 +0000)]
ext/cdparanoia/gstcdparanoia.c: Send discont events and change timestamps appropriately when we get a seek event.  (b...

Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_init),
(cdparanoia_get), (cdparanoia_open), (cdparanoia_change_state):
Send discont events and change timestamps appropriately when
we get a seek event.  (bug #144240)
* ext/cdparanoia/gstcdparanoia.h:

20 years agoext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of snd_pcm_hw_params...
Christophe Fergeau [Mon, 14 Jun 2004 20:30:36 +0000 (20:30 +0000)]
ext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of snd_pcm_hw_params_set_rate  since the latter fail...

Original commit message from CVS:
2004-06-14  Benjamin Otte  <otte@gnome.org>

* ext/alsa/gstalsa.c: Use snd_pcm_hw_params_set_rate _near instead of
snd_pcm_hw_params_set_rate  since the latter fails for no good
reason on some setups.<

20 years agogst/volume/demo.c: (value_changed_callback): exp10() is not standard. Thank you...
David Schleef [Mon, 14 Jun 2004 20:24:07 +0000 (20:24 +0000)]
gst/volume/demo.c: (value_changed_callback): exp10() is not standard.  Thank you for playing.

Original commit message from CVS:
* gst/volume/demo.c: (value_changed_callback): exp10() is not
standard.  Thank you for playing.

20 years agogst/ffmpegcolorspace/imgconvert.c: Patch 1.3 broke the ordering of the colorspace...
Wim Taymans [Mon, 14 Jun 2004 13:19:39 +0000 (13:19 +0000)]
gst/ffmpegcolorspace/imgconvert.c: Patch 1.3 broke the ordering of the colorspace info and made the plugin basically ...

Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (img_convert):
Patch 1.3 broke the ordering of the colorspace info and
made the plugin basically work by coincidence, reodered
the info.

20 years agosync mp3 caps
Thomas Vander Stichele [Mon, 14 Jun 2004 10:58:27 +0000 (10:58 +0000)]
sync mp3 caps

Original commit message from CVS:
sync mp3 caps