Commit graph

3499 commits

Author SHA1 Message Date
Wim Taymans c84a6b964f gst-libs/gst/audio/gstbaseaudiosink.c: Align samples even if we have roundoff errors in the timestamp conversion.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Align samples even if we have roundoff errors in the
timestamp conversion.
2005-07-16 17:13:35 +00:00
Wim Taymans 82dc411e33 Updated seek example.
Original commit message from CVS:
* docs/libs/tmpl/gstringbuffer.sgml:
* examples/seeking/seek.c: (make_vorbis_theora_pipeline),
(query_rates), (query_positions_elems), (query_positions_pads),
(update_scale), (do_seek):
Updated seek example.

* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_pad_submit_page), (gst_ogg_demux_activate_chain),
(gst_ogg_demux_find_chains), (gst_ogg_demux_send_event),
(gst_ogg_demux_loop):
Push out correct discont values.

* ext/theora/theoradec.c: (theora_dec_src_convert),
(theora_dec_sink_convert), (theora_dec_src_getcaps),
(theora_dec_sink_event), (theora_handle_type_packet),
(theora_handle_header_packet), (theora_dec_push),
(theora_handle_data_packet), (theora_dec_chain),
(theora_dec_change_state):
Better timestamping.

* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_init),
(vorbis_dec_sink_event), (vorbis_dec_push),
(vorbis_handle_data_packet), (vorbis_dec_chain):
* ext/vorbis/vorbisdec.h:
Better timestamping.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_get_time), (gst_base_audio_sink_get_times),
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
Handle syncing on timestamps instead of sample offsets. Make
use of DISCONT values as described in design docs.

* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_get_time):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_acquire),
(gst_ring_buffer_set_sample), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
* gst-libs/gst/audio/gstringbuffer.h:
* sys/ximage/ximagesink.c: (gst_ximagesink_get_times),
(gst_ximagesink_show_frame):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_times):
Correcly convert buffer timestamp to stream time.
2005-07-16 14:47:27 +00:00
Wim Taymans 567802ca2c gst/audioconvert/gstaudioconvert.c: Timestamp buffers correctly.
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_get_buffer):
Timestamp buffers correctly.

* gst/playback/gstplaybin.c: (gen_video_element):
Make internal fakesink silent.
2005-07-16 13:58:21 +00:00
Wim Taymans 9b2794cf3a gst/ffmpegcolorspace/: Ported ffmpegcolorspace to basetransform.
Original commit message from CVS:
* gst/ffmpegcolorspace/Makefile.am:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_caps_remove_format_info),
(gst_ffmpegcsp_transform_caps), (gst_ffmpegcsp_set_caps),
(gst_ffmpegcsp_get_type), (gst_ffmpegcsp_class_init),
(gst_ffmpegcsp_init), (gst_ffmpegcsp_get_size),
(gst_ffmpegcsp_transform_ip), (gst_ffmpegcsp_transform):
Ported ffmpegcolorspace to basetransform.

* gst/videoscale/gstvideoscale.c: (gst_videoscale_transform):
* gst/volume/gstvolume.c: (volume_transform):
Ported to new API.
2005-07-15 10:44:19 +00:00
Wim Taymans 914d0e0ad5 gst/videotestsrc/: Make videotestsrc a pushsrc.
Original commit message from CVS:
* gst/videotestsrc/Makefile.am:
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get_type),
(gst_videotestsrc_class_init), (gst_videotestsrc_negotiate),
(gst_videotestsrc_setcaps), (gst_videotestsrc_getcaps),
(gst_videotestsrc_init), (gst_videotestsrc_event),
(gst_videotestsrc_create), (gst_videotestsrc_start),
(gst_videotestsrc_stop), (gst_videotestsrc_get_times),
(gst_videotestsrc_set_pattern), (gst_videotestsrc_set_property),
(gst_videotestsrc_get_property):
* gst/videotestsrc/gstvideotestsrc.h:
Make videotestsrc a pushsrc.
2005-07-14 18:42:47 +00:00
Wim Taymans 66b4961d7d gst/tcp/: 0.8 backporting.
Original commit message from CVS:
* gst/tcp/gstfdset.c: (gst_fdset_free):
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_init),
(gst_multifdsink_add), (gst_multifdsink_remove),
(gst_multifdsink_clear), (gst_multifdsink_get_stats),
(gst_multifdsink_remove_client_link),
(gst_multifdsink_client_queue_data),
(gst_multifdsink_client_queue_caps),
(gst_multifdsink_client_queue_buffer),
(gst_multifdsink_queue_buffer), (gst_multifdsink_handle_clients),
(gst_multifdsink_stop):
* gst/tcp/gstmultifdsink.h:
0.8 backporting.

* sys/ximage/ximagesink.c: (gst_ximagesink_show_frame):
Also draw image when not from a pool.
2005-07-14 18:22:13 +00:00
Wim Taymans 3e81aabeea gst/playback/gstplaybasebin.c: Small debug additions.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (check_queue), (probe_triggered),
(mute_stream), (silence_stream):
Small debug additions.
2005-07-14 18:15:29 +00:00
Wim Taymans 6e5b22e005 ext/ogg/gstoggdemux.c: Better error recovery, ignore unconnected pads and non-fatal errors.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_dispose),
(gst_ogg_pad_submit_packet), (gst_ogg_pad_submit_page),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_loop):
Better error recovery, ignore unconnected pads and
non-fatal errors.
2005-07-14 18:13:08 +00:00
Christian Schaller 63cd64c514 add latest rpt stuff
Original commit message from CVS:
add latest rpt stuff
2005-07-14 11:52:23 +00:00
Philippe Kalaf dc0610faff gst-libs/gst/rtp gst-libs/gst/rtp/gstbasertpdepayload.c gst-libs/gst/rtp/gstbasertpdepayload.h gst-libs/gst/rtp/gstrt...
Original commit message from CVS:
* gst-libs/gst/rtp
* gst-libs/gst/rtp/gstbasertpdepayload.c
* gst-libs/gst/rtp/gstbasertpdepayload.h
* gst-libs/gst/rtp/gstrtpbuffer.c
* gst-libs/gst/rtp/gstrtpbuffer.h
* gst-libs/gst/rtp/Makefile.am
* gst-libs/gst/rtp/README

Support libs for RTP. Basicaly this add a GstRTPBuffer (extended GstBuffer) and
a Depayloader Base class that shall be used by payload specific depayloaders.
2005-07-14 10:29:30 +00:00
Thomas Vander Stichele d143d256a6 more autistic cleanliness in functions/names/defines
Original commit message from CVS:
more autistic cleanliness in functions/names/defines
2005-07-14 09:35:11 +00:00
Thomas Vander Stichele 5852e82a04 install but don't dist the enumtypes
Original commit message from CVS:
install but don't dist the enumtypes
2005-07-13 19:28:39 +00:00
Thomas Vander Stichele 3489636a8d install the enumtypes header because audio plugins in other modules need it
Original commit message from CVS:
install the enumtypes header because audio plugins in other modules need it
2005-07-13 19:25:23 +00:00
Thomas Vander Stichele 1ea0574af4 make GST_PLUGIN_LDFLAGS only be flags; GST_LIBS should be added manually to each Makefile.am so we are sure it goes
Original commit message from CVS:
make GST_PLUGIN_LDFLAGS only be flags; GST_LIBS should be
added manually to each Makefile.am so we are sure it goes
*last* and doesn't add -L flags before linking in libs of our
own, like, say, internal .la libs, that then accidentally pick
up the installed copy.
2005-07-13 17:58:07 +00:00
Andy Wingo 7bfdb23652 sys/v4l/gstv4lsrc.c (gst_v4lsrc_stop): Fix a spurious warning.
Original commit message from CVS:
2005-07-13  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_stop): Fix a spurious warning.
(gst_v4lsrc_fixate): Fixate on format as well.
2005-07-13 17:00:40 +00:00
Andy Wingo d4ceba9d02 sys/xvimage/xvimagesink.c (gst_xvimage_buffer_destroy)
Original commit message from CVS:
2005-07-13  Andy Wingo  <wingo@pobox.com>

* sys/xvimage/xvimagesink.c (gst_xvimage_buffer_destroy)
(gst_xvimagesink_xvimage_new): Ref the xvimagesink while the
buffer points to it.
(gst_xvimagesink_check_xshm_calls): Don't use our xvimage buffer,
rather just doing X calls ourselves. Also fixes a memleak.
2005-07-13 13:54:11 +00:00
Thomas Vander Stichele 9042241fd1 remove whitespace
Original commit message from CVS:
remove whitespace
2005-07-12 23:15:35 +00:00
Thomas Vander Stichele f4ce54b977 add deps for xv sinks on videosink
Original commit message from CVS:
add deps for xv sinks on videosink
2005-07-12 23:07:47 +00:00
Andy Wingo c9c9cdd7e3 sys/v4l/gstv4lsrc.c (gst_v4lsrc_get_property) (gst_v4lsrc_set_property, gst_v4lsrc_class_init, gst_v4lsrc_init)
Original commit message from CVS:
2005-07-12  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_get_property)
(gst_v4lsrc_set_property, gst_v4lsrc_class_init, gst_v4lsrc_init)
(gst_v4lsrc_create): Re-add the copy-mode property, default to
TRUE to avoid deadlocks if an element holds on to our buffers.
2005-07-12 17:14:33 +00:00
Thomas Vander Stichele 93614e5f09 remove num-buffers property before moving it
Original commit message from CVS:
remove num-buffers property before moving it
2005-07-11 12:40:15 +00:00
Thomas Vander Stichele d6a5e62b65 fix for thaytan
Original commit message from CVS:
fix for thaytan
2005-07-11 11:17:12 +00:00
Thomas Vander Stichele 9e8a11d3ce use overridable ERROR_CFLAGS; more macro splitting
Original commit message from CVS:
use overridable ERROR_CFLAGS; more macro splitting
2005-07-10 12:03:58 +00:00
Thomas Vander Stichele eec80f9dc7 plug memleak in oggdemux, fix format strings in vorbisdec
Original commit message from CVS:
plug memleak in oggdemux, fix format strings in vorbisdec
2005-07-08 13:35:04 +00:00
Thomas Vander Stichele 33f1e1633f add device property
Original commit message from CVS:
add device property
2005-07-08 11:42:47 +00:00
Thomas Vander Stichele c1b14f407b ext/gnomevfs/: add/clean up debugging
Original commit message from CVS:

* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
* ext/gnomevfs/gstgnomevfssrc.c: (audiocast_init),
(audiocast_register_listener), (audiocast_thread_run),
(gst_gnomevfssrc_send_additional_headers_callback),
(gst_gnomevfssrc_received_headers_callback),
(gst_gnomevfssrc_push_callbacks), (gst_gnomevfssrc_pop_callbacks),
(gst_gnomevfssrc_get_icy_metadata), (gst_gnomevfssrc_create),
(gst_gnomevfssrc_get_size):
add/clean up debugging
* gst/audiorate/gstaudiorate.c: (gst_audiorate_init):
cleanups
2005-07-08 10:59:36 +00:00
Thomas Vander Stichele c3c4260ea8 no check yet
Original commit message from CVS:
no check yet
2005-07-07 16:44:32 +00:00
Thomas Vander Stichele 086b7e44e7 copy extra content files; make plugins-base use gtk-doc.mak
Original commit message from CVS:
copy extra content files; make plugins-base use gtk-doc.mak
2005-07-07 16:41:21 +00:00
Andy Wingo f38bff62af sys/v4l/gstv4lsrc.c (gst_v4lsrc_fixate): Also fixate the framerate. Need to get a handle on when exactly this functio...
Original commit message from CVS:
2005-07-07  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_fixate): Also fixate the
framerate. Need to get a handle on when exactly this function is
called, tho.
2005-07-07 14:01:07 +00:00
Andy Wingo 84761c6a82 sys/v4l/v4lsrc_calls.*: Remove sync-related stuff.
Original commit message from CVS:
2005-07-07  Andy Wingo  <wingo@pobox.com>

* sys/v4l/v4lsrc_calls.h:
* sys/v4l/v4lsrc_calls.c: Remove sync-related stuff.
(gst_v4lsrc_get_fps_list): Moved here from gstv4lsrc.c.
(gst_v4lsrc_buffer_new): Totally derive from GstBuffer.

* sys/v4l/v4l_calls.h: Cast to V4lElement.
* sys/v4l/v4l_calls.c: Header loc fixen, don't load mjpeg, all
v4lelements are sources.

* sys/v4l/gstv4lxoverlay.h:
* sys/v4l/gstv4lxoverlay.c:
* sys/v4l/gstv4ltuner.h:
* sys/v4l/gstv4ltuner.c: Header loc fixen.

* sys/v4l/gstv4lsrc.h:
* sys/v4l/gstv4lsrc.c: Crucial GPL update. Clean up a bit, port to
PushSrc/BaseSrc. Removed most sync-related properties, videorate
or something should handle that. Made a live source.

* sys/v4l/gstv4lelement.h:
* sys/v4l/gstv4lelement.c: Derive from GstPushSrc. No more
signals. Some cleanups.

* sys/v4l/gstv4lcolorbalance.h: Interface header update.

* sys/v4l/gstv4l.c: Don't register v4lelement, or the jpeg/mjpeg
stuff.

* sys/v4l/Makefile.am: Build everything except the jpeg/mjpeg
stuff.

* sys/Makefile.am (SUBDIRS): Hit the V4L crack pipe.
2005-07-07 11:29:29 +00:00
Christian Schaller 1d1317186e fix spec file
Original commit message from CVS:
fix spec file
2005-07-07 11:14:52 +00:00
Wim Taymans 9c4abc693f ext/: Remove deprecated/unused query types.
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_get_query_types),
(theora_dec_src_getcaps), (theora_dec_push):
* ext/vorbis/vorbisdec.c: (vorbis_get_query_types):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_query_types):
Remove deprecated/unused query types.
2005-07-07 08:39:36 +00:00
Thomas Vander Stichele ffb798b4dd samples done
Original commit message from CVS:
samples done
2005-07-06 15:48:29 +00:00
Thomas Vander Stichele 58f4969dea fix wim's problem by only checking for plugins in our module
Original commit message from CVS:
fix wim's problem by only checking for plugins in our module
2005-07-06 15:38:21 +00:00
Wim Taymans ceb88a7777 Added audiosource base classes.
Original commit message from CVS:
Added audiosource base classes.
Ported alsasrc, still very basic.
2005-07-06 15:27:17 +00:00
Wim Taymans a46a991d26 ext/theora/theoradec.c: Prepare for better timestamp fix later.
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_src_getcaps),
(theora_dec_push), (theora_handle_data_packet):
Prepare for better timestamp fix later.

* gst/audioconvert/gstaudioconvert.c:
List most accurate caps first

* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_loop):
Use proper pad task function.

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_show_frame):
Fix deadlock when alloc failed.
2005-07-06 15:14:38 +00:00
Andy Wingo 82fd840734 s/BASESRC/BASE_SRC/.
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* ext/gnomevfs/gstgnomevfssrc.c:
* gst/sine/gstsinesrc.c:
* gst/tcp/gsttcpserversrc.c:
* gst/tcp/gsttcpclientsrc.c: s/BASESRC/BASE_SRC/.
2005-07-05 16:43:02 +00:00
Andy Wingo 02c883d5b5 dont go into v4l for now
Original commit message from CVS:
dont go into v4l for now
2005-07-05 15:01:39 +00:00
Andy Wingo 25d9545cf3 sys/v4l/: Port from 0.8.
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* sys/v4l/: Port from 0.8.
2005-07-05 14:54:19 +00:00
Andy Wingo c871aa3dd8 whoops, fix changelog
Original commit message from CVS:
whoops, fix changelog
2005-07-05 11:11:57 +00:00
Andy Wingo e4180644b1 Many files: Null if we got it....
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* Many files: Null if we got it....
2005-07-05 11:08:56 +00:00
Andy Wingo 8c6f8b846f gst/tcp/: Signedness fixes.
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcpserversink.c (gst_tcpserversink_handle_server_read):
* gst/tcp/gstmultifdsink.c (gst_multifdsink_client_queue_data):
Signedness fixes.
2005-07-05 11:07:20 +00:00
Andy Wingo 68eeef9614 Way, way, way too many files: Remove crack comment from the 2000 era.
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* Way, way, way too many files:
Remove crack comment from the 2000 era.
2005-07-05 10:51:45 +00:00
Wim Taymans e9de36e38c Ported tcp plugins to 0.9.
Original commit message from CVS:
* configure.ac:
* gst/tcp/Makefile.am:
* gst/tcp/README:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_get_type),
(gst_multifdsink_base_init), (gst_multifdsink_class_init),
(gst_multifdsink_init), (gst_multifdsink_remove_client_link),
(is_sync_frame), (gst_multifdsink_handle_client_write),
(gst_multifdsink_render), (gst_multifdsink_start),
(gst_multifdsink_stop), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c: (gst_tcp_host_to_ip),
(gst_tcp_gdp_read_buffer), (gst_tcp_gdp_read_caps),
(gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
* gst/tcp/gsttcp.h:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
(gst_tcpclientsink_init), (gst_tcpclientsink_setcaps),
(gst_tcpclientsink_render), (gst_tcpclientsink_start),
(gst_tcpclientsink_stop), (gst_tcpclientsink_change_state):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get_type),
(gst_tcpclientsrc_base_init), (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_init), (gst_tcpclientsrc_getcaps),
(gst_tcpclientsrc_create), (gst_tcpclientsrc_start),
(gst_tcpclientsrc_stop), (gst_tcpclientsrc_unlock):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpplugin.c: (plugin_init):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_get_type),
(gst_tcpserversrc_base_init), (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_finalize),
(gst_tcpserversrc_create), (gst_tcpserversrc_start),
(gst_tcpserversrc_stop):
* gst/tcp/gsttcpserversrc.h:
* gst/tcp/gsttcpsink.c:
* gst/tcp/gsttcpsink.h:
* gst/tcp/gsttcpsrc.c:
* gst/tcp/gsttcpsrc.h:
Ported tcp plugins to 0.9.
2005-07-05 10:21:40 +00:00
Andy Wingo 207c8ee79a changelog
Original commit message from CVS:
changelog
2005-07-05 09:18:08 +00:00
Andy Wingo 0b62987934 gst/playback/gstplaybasebin.c (fill_buffer): message_new_application fixen.
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* gst/playback/gstplaybasebin.c (fill_buffer):
message_new_application fixen.
x
2005-07-05 09:15:53 +00:00
Andy Wingo 0db66b48d9 gst/videoscale/gstvideoscale.c (gst_videoscale_transform_caps): Style fix.
Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* gst/videoscale/gstvideoscale.c (gst_videoscale_transform_caps):
Style fix.
2005-07-05 09:08:36 +00:00
Wim Taymans 45bb2fe9d3 ext/vorbis/vorbisenc.c: Set caps on output buffer.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain):
Set caps on output buffer.
2005-07-04 15:14:51 +00:00
Andy Wingo 7d4be3b71a ext/gnomevfs/gstgnomevfssrc.c (gst_gnomevfssrc_received_headers_callback)
Original commit message from CVS:
2005-07-04  Andy Wingo  <wingo@pobox.com>

* ext/gnomevfs/gstgnomevfssrc.c
(gst_gnomevfssrc_received_headers_callback)
(audiocast_thread_kill, audiocast_thread_run): FORTIFY fixen,
hopefully.
2005-07-04 14:12:41 +00:00
Christian Schaller d1f752ff75 fix spec file so it works with latest changes
Original commit message from CVS:
fix spec file so it works with latest changes
2005-07-04 13:52:00 +00:00
Andy Wingo 3a7f5a2e06 gst/audioconvert/gstaudioconvert.c (gst_audio_convert_fixate): No refcount leakage.
Original commit message from CVS:
2005-07-04  Andy Wingo  <wingo@pobox.com>

* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_fixate):
No refcount leakage.
2005-07-04 10:40:17 +00:00