Commit graph

1825 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Andy Wingo
1f40231de5 configure.ac: Enable -Werror.
Original commit message from CVS:
2005-07-04  Andy Wingo  <wingo@pobox.com>

* configure.ac: Enable -Werror.

* ext/theora/theoradec.c (theora_dec_src_getcaps):
* gst/audioconvert/bufferframesconvert.c
(buffer_frames_convert_fixate):
* gst/audioconvert/gstaudioconvert.c (_fixate_caps_to_int)
(gst_audio_convert_fixate):
* gst/sine/gstsinesrc.c (gst_sinesrc_src_fixate)
(gst_sinesrc_create): Fixate func changes.

* sys/ximage/ximagesink.c: (gst_ximagesink_renegotiate_size),
(gst_ximagesink_buffer_alloc): Unused var.
2005-07-04 10:37:25 +00:00
Andy Wingo
5e606a8451 ext/theora/theoradec.c (theora_dec_src_getcaps): Implement a getcaps to do explicit caps. Needs to be done in all dec...
Original commit message from CVS:
2005-07-01  Andy Wingo  <wingo@pobox.com>

* ext/theora/theoradec.c (theora_dec_src_getcaps): Implement a
getcaps to do explicit caps. Needs to be done in all decoders,
possibly via a base class.

* configure.ac (GST_PLUGIN_LDFLAGS): Add videoscale.

* ext/ogg/gstoggdemux.c (gst_ogg_pad_typefind): No need to set
caps on the sink pad, just rely on the pad template. Also, setting
ANY caps on a pad is not valid because the caps are not fixed.

* sys/ximage/ximagesink.c (gst_ximagesink_buffer_alloc): Set the
caps on the buffer, and get the width from the desired_caps if
they're set.
(gst_ximagesink_renegotiate_size): Implement via setting the
desired_caps on the ximagesink.
(gst_ximagesink_setcaps): Only reset the width of the player if it
wasn't already set. Not sure if this is right.
(gst_ximagesink_show_frame): Memcpy only for normal buffers.

* sys/ximage/ximagesink.h (desired_caps): New field, is the caps
that the user wants. NULL unless the window has been resized.

* gst/volume/gstvolume.c (volume_transform): Adapt to
basetransform refcount changes.
2005-07-01 17:13:02 +00:00
Andy Wingo
5f91e70f0b gst/videoscale/gstvideoscale.*: Clean up, port to 0.9. Derives from BaseTransform, implements a transform_caps. Remov...
Original commit message from CVS:
2005-07-01  Andy Wingo  <wingo@pobox.com>

* gst/videoscale/gstvideoscale.c:
* gst/videoscale/gstvideoscale.h: Clean up, port to 0.9. Derives
from BaseTransform, implements a transform_caps. Removed dead code
including some PAR stuff that was never reached -- should probably
be added back somehow.
2005-07-01 17:03:13 +00:00
Andy Wingo
4063477460 gst/videoscale: Merge David's work from 0.8 branch. Changes to come later.
Original commit message from CVS:
2005-07-01  Andy Wingo  <wingo@pobox.com>

* gst/videoscale: Merge David's work from 0.8 branch. Changes to
come later.
2005-07-01 16:55:43 +00:00
Thomas Vander Stichele
5014a9eee6 fold all interfaces in one interfaces dir, preserving CVS history
Original commit message from CVS:
fold all interfaces in one interfaces dir, preserving CVS history
2005-06-30 11:58:40 +00:00
Ronald S. Bultje
49d755a020 ext/ogg/gstogmparse.c: Fix build after riff changes.
Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
Fix build after riff changes.
2005-06-30 09:22:30 +00:00
Ronald S. Bultje
a8bff2dd5e gst-libs/gst/riff/: Add gst_riff_init() to initialize the debug category, instead of plugin_init(). Port riff-media.[...
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_audio_caps), (gst_riff_create_iavs_caps),
(gst_riff_create_video_template_caps),
(gst_riff_create_audio_template_caps),
(gst_riff_create_iavs_template_caps):
* gst-libs/gst/riff/riff-media.h:
* gst-libs/gst/riff/riff-read.h:
* gst-libs/gst/riff/riff.c: (gst_riff_init):
Add gst_riff_init() to initialize the debug category, instead
of plugin_init(). Port riff-media.[ch] from -THREADED to HEAD.
2005-06-30 08:59:30 +00:00
Ronald S. Bultje
d7c5ab0cb6 gst/playback/gstplaybasebin.c: Oops, I shouldn't apply hacks.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init):
Oops, I shouldn't apply hacks.
2005-06-29 18:05:03 +00:00
Ronald S. Bultje
dc84f0dcf1 gst/videotestsrc/gstvideotestsrc.c: Remove pad_loop function which doesn't work.
Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_init):
Remove pad_loop function which doesn't work.
2005-06-29 16:58:25 +00:00
Ronald S. Bultje
1ce6923abb ext/ogg/gstoggdemux.c: Send EOS when deactivating.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_deactivate_current_chain):
Send EOS when deactivating.
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),
(check_queue), (queue_threshold_reached), (queue_out_of_data),
(gen_preroll_element), (probe_triggered), (mute_stream),
(silence_stream), (new_decoded_pad), (setup_substreams),
(set_active_source):
* gst/playback/gstplaybin.c: (gst_play_bin_get_property),
(remove_sinks), (add_sink):
* gst/playback/gststreaminfo.c: (cb_probe), (gst_stream_info_new):
Change for new probe API.
2005-06-29 15:46:00 +00:00
Wim Taymans
2e2623748d gst-libs/gst/audio/: Fix compilation error.
Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (gst_audioringbuffer_init):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_baseaudiosink_class_init), (gst_baseaudiosink_dispose),
(gst_baseaudiosink_change_state):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ringbuffer_set_callback):
Fix compilation error.
Ringbuffer starts out as not running.
Free our clock in dispose.
When releasing the ringbuffer we need to renegotiate so
clear the pad caps.
2005-06-29 11:17:33 +00:00
Thomas Vander Stichele
36d0c9ce29 reinstate plugin docs
Original commit message from CVS:
reinstate plugin docs
2005-06-29 10:56:25 +00:00
Wim Taymans
16141a4303 ext/ogg/gstoggdemux.c: Removed pad loop function.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_init):
Removed pad loop function.
2005-06-28 11:40:46 +00:00
Wim Taymans
1e38cab512 ext/ogg/gstoggdemux.c: If we're building a chain we are not in an error case when we queue a buffer.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet):
If we're building a chain we are not in an error case
when we queue a buffer.
2005-06-28 11:00:03 +00:00
Andy Wingo
d0bc038021 *.c: Don't cast to GstObject before reffing/unreffing.
Original commit message from CVS:
2005-06-28  Andy Wingo  <wingo@pobox.com>

* *.c: Don't cast to GstObject before reffing/unreffing.
2005-06-28 10:16:13 +00:00
Andy Wingo
97697df71d gst/videotestsrc/gstvideotestsrc.c
Original commit message from CVS:
2005-06-27  Andy Wingo  <wingo@pobox.com>

* gst/videotestsrc/gstvideotestsrc.c
(gst_videotestsrc_activate_push): Activation API changes.

* gst/playback/gstdecodebin.c (gst_decode_bin_change_state)
(gst_decode_bin_dispose): Free dynamics in READY->NULL, because
they have refs on the decodebin.

* ext/ogg/gstoggdemux.c (gst_ogg_pad_class_init): Ref the right
parent class.
(gst_ogg_pad_typefind): Don't leak a pad ref.
(gst_ogg_chain_new_stream): gst_object_unref, not g_object_unref.
(gst_ogg_demux_sink_activate, gst_ogg_demux_sink_activate_push)
(gst_ogg_demux_sink_activate_pull): Changes for activation API.
2005-06-27 18:41:22 +00:00
Edward Hervey
6ec852f662 ext/theora/theoradec.c: re-arranged call to parent's state change in order to avoid locks (or worse).
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_change_state):
re-arranged call to parent's state change in order to avoid locks (or
worse).
2005-06-27 13:11:29 +00:00
Edward Hervey
d3b7111a90 gst/playback/gstdecodebin.c: 2nd argument of 'unknow-type' signal is a GstCaps and not a
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init):
2nd argument of 'unknow-type' signal is a GstCaps and not a
GstMiniObject
2005-06-26 18:45:25 +00:00
Jan Schmidt
2255ffd384 gst-libs/gst/audio/gstaudiosink.c: Set the worker thread's running flag to TRUE before starting the thread.
Original commit message from CVS:
2005-06-25  Jan Schmidt  <thaytan@mad.scientist.com>
* gst-libs/gst/audio/gstaudiosink.c: (gst_audioringbuffer_acquire):
Set the worker thread's running flag to TRUE before starting the
thread.
* gst/playback/gstdecodebin.c: (gst_decode_bin_init):
Catch a failure to add typefind to the bin.
2005-06-24 16:15:25 +00:00
Thomas Vander Stichele
4cb699caf6 gst/sine/gstsinesrc.*: add num-buffers and timestamp-offset properties
Original commit message from CVS:

* gst/sine/gstsinesrc.c: (gst_sinesrc_class_init),
(gst_sinesrc_init), (gst_sinesrc_create),
(gst_sinesrc_set_property), (gst_sinesrc_get_property),
(gst_sinesrc_start):
* gst/sine/gstsinesrc.h:
add num-buffers and timestamp-offset properties
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_class_init), (gst_videotestsrc_set_property),
(gst_videotestsrc_get_property):
add timestamp-offset property
2005-06-24 00:17:13 +00:00
Christian Schaller
a378566e01 add videorate plugin to needed files
Original commit message from CVS:
add videorate plugin to needed files
2005-06-23 17:10:55 +00:00
Wim Taymans
290cafefeb gst/videorate/gstvideorate.c: Fixed videorate, fixating an already fixated caps is not an error.
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_transformcaps),
(gst_videorate_getcaps), (gst_videorate_setcaps),
(gst_videorate_event), (gst_videorate_chain):
Fixed videorate, fixating an already fixated caps is not
an error.
2005-06-23 16:23:12 +00:00
Wim Taymans
1ffcf1b1d9 ext/ogg/: Buffer on caps is not boxed anymore.
Original commit message from CVS:
* ext/ogg/README:
* ext/ogg/gstoggmux.c: (gst_ogg_mux_set_header_on_caps):
Buffer on caps is not boxed anymore.
2005-06-23 15:09:31 +00:00
Wim Taymans
bfc017189b ext/: Set buffers on caps as miniobjects and not as boxed.
Original commit message from CVS:
* ext/theora/theoraenc.c: (theora_set_header_on_caps):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_set_header_on_caps):
Set buffers on caps as miniobjects and not as boxed.
2005-06-22 09:57:59 +00:00
Thomas Vander Stichele
4954404e3c back to head
Original commit message from CVS:
back to head
2005-06-18 22:48:36 +00:00
Thomas Vander Stichele
bda5c338da updates for release
Original commit message from CVS:
updates for release
2005-06-18 22:43:51 +00:00
Andy Wingo
9079621594 gst-libs/gst/net/Makefile.am (lib_LTLIBRARIES): Install gstnet.
Original commit message from CVS:
2005-06-09  Andy Wingo  <wingo@pobox.com>

* gst-libs/gst/net/Makefile.am (lib_LTLIBRARIES): Install gstnet.
2005-06-09 15:01:54 +00:00
Andy Wingo
cd8caf2f9f Add gstnet to build.
Original commit message from CVS:
2005-06-09  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/net/Makefile.am:
Add gstnet to build.
2005-06-09 08:54:45 +00:00
Andy Wingo
6a70d390dd log entry
Original commit message from CVS:
log entry
2005-06-09 08:28:15 +00:00
Wim Taymans
ec4f41ed25 Added net stuff, version net lib.
Original commit message from CVS:
* gst-libs/gst/net/Makefile.am:
* pkgconfig/gstreamer-libs-uninstalled.pc.in:
* pkgconfig/gstreamer-libs.pc.in:
Added net stuff, version net lib.
2005-06-02 14:01:22 +00:00
Wim Taymans
239bdbcd62 examples/seeking/seek.c: Updated seek example.
Original commit message from CVS:
* examples/seeking/seek.c: (make_vorbis_theora_pipeline),
(query_rates), (query_positions_elems), (query_positions_pads),
(do_seek):
Updated seek example.
2005-06-02 13:33:40 +00:00
Andy Wingo
12c87a2f39 pkgconfig/: Add gst/tag to the -L list.
Original commit message from CVS:
2005-06-02  Andy Wingo  <wingo@pobox.com>

* pkgconfig/gstreamer-libs-uninstalled.pc.in (prefix):
* pkgconfig/gstreamer-libs.pc.in (prefix): Add gst/tag to the -L
list.

* gst/playback/gstdecodebin.c (gst_decode_bin_dispose): Don't
remove the typefind, the bin dispose will do it for us. When it's
removed and unreffed, the signal handler will be disconnected,
too.
(unlinked): It's too difficult to disconnect from unlinked
handlers, as they are on pads not elements. Just punt if the pads
aren't grandkids of the bin.
2005-06-02 11:21:48 +00:00
Wim Taymans
6db639089a Cleanups and buffer alloc.
Original commit message from CVS:
* ext/ogg/README:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_clear_chains):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page):
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_handle_data_packet):
* ext/theora/theoraenc.c: (theora_buffer_from_packet),
(theora_enc_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_handle_data_packet):
* gst/audioconvert/bufferframesconvert.c:
(buffer_frames_convert_chain):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
(gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_bufferalloc),
(gst_ffmpegcsp_chain):
* gst/videorate/gstvideorate.c: (gst_videorate_transformcaps),
(gst_videorate_getcaps), (gst_videorate_setcaps),
(gst_videorate_event), (gst_videorate_chain):
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_activate),
(gst_videotestsrc_src_query), (gst_videotestsrc_loop):
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_setcaps), (gst_ximagesink_buffer_alloc):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimage_buffer_finalize), (gst_xvimage_buffer_free),
(gst_xvimage_buffer_class_init), (gst_xvimage_buffer_get_type),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_alloc):
Cleanups and buffer alloc.
2005-06-02 09:46:40 +00:00
Wim Taymans
6a5293d065 gst-libs/gst/audio/gstringbuffer.c: Don't try to call the delay method when the device is not opened.
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ringbuffer_delay):
Don't try to call the delay method when the device is not
opened.
2005-05-31 11:38:10 +00:00
Wim Taymans
dc919d1291 ext/alsa/gstalsasink.c: Get actual segment size and buffer size after opening the device.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (set_hwparams), (gst_alsasink_open):
Get actual segment size and buffer size after opening
the device.
2005-05-31 11:22:33 +00:00
Wim Taymans
b6764dcc97 ext/ogg/gstoggdemux.c: Also FLUSH upstream, makes the loop function exit faster.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_activate_chain),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_clear_chains):
Also FLUSH upstream, makes the loop function exit faster.

* ext/theora/theoradec.c: (theora_dec_src_query):
Some more debug info in the query.

* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new),
(gst_ximagesink_setcaps):
Release lock on par error, better error reporting.
2005-05-30 16:34:46 +00:00
Wim Taymans
70fbbf750b ext/ogg/gstoggdemux.c: Clear chains in READY
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_activate_chain), (gst_ogg_demux_chain),
(gst_ogg_demux_clear_chains), (gst_ogg_demux_change_state):
Clear chains in READY
Queue packets until the chain is activated.
2005-05-26 12:08:55 +00:00
Wim Taymans
5474600d4f gst-libs/gst/audio/: Various small cleanups.
Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_get_type), (gst_audioringbuffer_class_init),
(audioringbuffer_thread_func), (gst_audioringbuffer_init),
(gst_audioringbuffer_acquire), (gst_audioringbuffer_release),
(gst_audioringbuffer_play), (gst_audioringbuffer_stop),
(gst_audioringbuffer_delay), (gst_audiosink_class_init),
(gst_audiosink_create_ringbuffer):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_baseaudiosink_class_init), (gst_baseaudiosink_init),
(gst_baseaudiosink_get_clock), (gst_baseaudiosink_get_time),
(gst_baseaudiosink_set_property), (build_linear_format),
(debug_spec_caps), (debug_spec_buffer),
(gst_baseaudiosink_setcaps), (gst_baseaudiosink_get_times),
(gst_baseaudiosink_event), (gst_baseaudiosink_preroll),
(gst_baseaudiosink_render), (gst_baseaudiosink_create_ringbuffer),
(gst_baseaudiosink_callback), (gst_baseaudiosink_change_state):
* gst-libs/gst/audio/gstringbuffer.c: (gst_ringbuffer_get_type),
(gst_ringbuffer_set_callback), (gst_ringbuffer_acquire),
(gst_ringbuffer_release), (gst_ringbuffer_is_acquired),
(gst_ringbuffer_play), (gst_ringbuffer_pause),
(gst_ringbuffer_stop), (gst_ringbuffer_delay),
(gst_ringbuffer_played_samples), (gst_ringbuffer_set_sample),
(wait_segment), (gst_ringbuffer_commit),
(gst_ringbuffer_prepare_read), (gst_ringbuffer_advance),
(gst_ringbuffer_clear):
Various small cleanups.

* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
(gst_audio_convert_change_state):
* gst/subparse/gstsubparse.c: (gst_subparse_chain):
No need to take the locks anymore.
2005-05-25 19:52:14 +00:00
Wim Taymans
b48b315b81 gst/playback/: Some playbin cleanups mostly refcounting sloppyness.
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(gst_decode_bin_dispose), (try_to_link_1), (get_our_ghost_pad),
(remove_element_chain), (no_more_pads), (unlinked), (close_link),
(type_found):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_dispose),
(group_destroy), (group_commit), (queue_overrun),
(gen_preroll_element), (no_more_pads), (preroll_unlinked),
(mute_stream), (new_decoded_pad), (setup_substreams),
(setup_source), (mute_group_type), (set_active_source),
(gst_play_base_bin_change_state):
* gst/playback/gstplaybin.c: (gst_play_bin_dispose),
(gen_video_element), (gen_text_element), (gen_audio_element),
(gen_vis_element), (remove_sinks), (add_sink), (setup_sinks):
* gst/playback/gststreaminfo.c: (gst_stream_info_new),
(gst_stream_info_dispose), (gst_stream_info_set_mute):
* gst/playback/gststreamselector.c: (gst_stream_selector_chain):
Some playbin cleanups mostly refcounting sloppyness.
2005-05-25 19:47:52 +00:00
Ronald S. Bultje
6e057d28f8 ext/ogg/gstoggdemux.c: Work with streaming input.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet):
Work with streaming input.
2005-05-25 16:08:01 +00:00
Wim Taymans
bd8af68852 gst/ffmpegcolorspace/gstffmpegcolorspace.c: No need to take the STREAM lock anymore.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
(gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_bufferalloc),
(gst_ffmpegcsp_chain), (gst_ffmpegcsp_change_state):
No need to take the STREAM lock anymore.
2005-05-25 12:07:04 +00:00
Wim Taymans
2bed7c60aa ext/: Remove STREAM locks as they are taken in core now.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_dispose),
(gst_ogg_pad_typefind), (gst_ogg_pad_submit_packet),
(gst_ogg_chain_new_stream), (gst_ogg_demux_perform_seek),
(gst_ogg_demux_chain), (gst_ogg_demux_loop),
(gst_ogg_demux_sink_activate):
* ext/theora/theoradec.c: (theora_dec_src_event),
(theora_handle_comment_packet), (theora_dec_chain),
(theora_dec_change_state):
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_handle_data_packet), (vorbis_dec_chain),
(vorbis_dec_change_state):
Remove STREAM locks as they are taken in core now.
Never set bogus granulepos on vorbis/theora.
Fix leaks in theoradec tag parsing.
2005-05-25 12:04:37 +00:00
Wim Taymans
656e0f6acd ext/gnomevfs/gstgnomevfssrc.c: Fix memleaks, GST_BUFFER_DATA() is not freed.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_create):
Fix memleaks, GST_BUFFER_DATA() is not freed.
2005-05-25 11:59:39 +00:00
Wim Taymans
391c82601f ext/alsa/gstalsasink.c: Open non-blocking, set to blocking mode afterwards to avoid lockups when audio device is busy.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_open):
Open non-blocking, set to blocking mode afterwards to avoid
lockups when audio device is busy.
2005-05-25 11:57:45 +00:00
Ronald S. Bultje
a159660dfc gst-libs/gst/audio/gstringbuffer.c: This can't be good.
Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ringbuffer_clear):
This can't be good.
2005-05-23 18:07:28 +00:00
Ronald S. Bultje
78016b40cf gst/audioconvert/gstaudioconvert.c: Implement instant setup switching.
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init),
(gst_audio_convert_chain), (gst_audio_convert_link_src),
(gst_audio_convert_setcaps):
Implement instant setup switching.
2005-05-23 17:28:02 +00:00
Ronald S. Bultje
a87b7cb41b gst/playback/gstplaybasebin.c: Fix missing unlock.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (probe_triggered):
Fix missing unlock.
* gst/playback/gstplaybin.c: (add_sink):
First add, then link (otherwise pad link fails).
2005-05-19 15:37:42 +00:00
Zaheer Abbas Merali
33ab9a69d4 examples/Makefile.am: fix buildbot (make distcheck)
Original commit message from CVS:
2005-05-19  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* examples/Makefile.am:
fix buildbot (make distcheck)
2005-05-19 15:04:11 +00:00
Ronald S. Bultje
677ce7d8eb gst/playback/gstplaybin.c: Remove some wrong code. Doesn't work yet.
Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_vis_element):
Remove some wrong code. Doesn't work yet.
2005-05-19 14:25:17 +00:00
Wim Taymans
62c46c1480 gst-libs/gst/net/: Added buffer subclass to store extra to/from addresses for network sources/sinks.
Original commit message from CVS:
* gst-libs/gst/net/Makefile.am:
* gst-libs/gst/net/README:
* gst-libs/gst/net/gstnetbuffer.c: (gst_netbuffer_get_type),
(gst_netbuffer_class_init), (gst_netbuffer_init),
(gst_netbuffer_finalize), (gst_netbuffer_copy),
(gst_netbuffer_new), (gst_netaddress_set_ip4_address),
(gst_netaddress_set_ip6_address), (gst_netaddress_get_net_type),
(gst_netaddress_get_ip4_address), (gst_netaddress_get_ip6_address):
* gst-libs/gst/net/gstnetbuffer.h:
Added buffer subclass to store extra to/from addresses for
network sources/sinks.
2005-05-19 11:56:48 +00:00
Ronald S. Bultje
8326cc5387 gst-libs/gst/gconf/gconf.c: Don't lock an unassigned variable.
Original commit message from CVS:
* gst-libs/gst/gconf/gconf.c: (gst_bin_find_unconnected_pad):
Don't lock an unassigned variable.
2005-05-18 15:54:00 +00:00
Ronald S. Bultje
75f866efae gst/playback/gstplaybasebin.c: Increase buffer for video, decrease buffer for other media types.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gen_preroll_element):
Increase buffer for video, decrease buffer for other media types.
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
Change names for debugging purposes.
2005-05-18 13:55:31 +00:00
Wim Taymans
8d8f17a4ff gst/ffmpegcolorspace/gstffmpegcolorspace.c: Enable buffer alloc passthrough if the source and dest formats are the same.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
(gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_bufferalloc),
(gst_ffmpegcsp_chain):
Enable buffer alloc passthrough if the source and dest
formats are the same.
2005-05-18 09:59:28 +00:00
Wim Taymans
04fa67937d Leak fixes in oggdemux.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_internal_chain),
(gst_ogg_demux_submit_buffer), (gst_ogg_demux_get_data),
(gst_ogg_demux_chain_unlocked):
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
(gst_audio_convert_caps_remove_format_info),
(gst_audio_convert_getcaps), (gst_audio_convert_setcaps),
(gst_audio_convert_fixate), (gst_audio_convert_change_state):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
(gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_init),
(gst_ffmpegcsp_bufferalloc), (gst_ffmpegcsp_chain),
(gst_ffmpegcsp_change_state), (gst_ffmpegcsp_set_property),
(gst_ffmpegcsp_get_property):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_destroy),
(gst_xvimage_buffer_finalize), (gst_xvimage_buffer_free),
(gst_xvimage_buffer_class_init), (gst_xvimage_buffer_get_type),
(gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new),
(gst_xvimagesink_xvimage_put), (gst_xvimagesink_imagepool_clear),
(gst_xvimagesink_setcaps), (gst_xvimagesink_change_state),
(gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_free),
(gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id):
Leak fixes in oggdemux.
Some cleanups in audioconvert.
Make passthrough work along with buffer_alloc etc.
Make buffer_alloc and buffer recycling actually work in
xvimagesink.
2005-05-17 17:41:32 +00:00
Thomas Vander Stichele
8f7b55d277 make compiler happy
Original commit message from CVS:
make compiler happy
2005-05-17 15:44:31 +00:00
Wim Taymans
2d2490c260 sys/: Port xvimagesink to new MiniObject.
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new):
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_finalize),
(gst_xvimage_buffer_init), (gst_xvimage_buffer_class_init),
(gst_xvimage_buffer_get_type), (gst_xvimagesink_check_xshm_calls),
(gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_put),
(gst_xvimagesink_imagepool_clear), (gst_xvimagesink_setcaps),
(gst_xvimagesink_change_state), (gst_xvimagesink_show_frame),
(gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc),
(gst_xvimagesink_set_xwindow_id):
* sys/xvimage/xvimagesink.h:
Port xvimagesink to new MiniObject.
2005-05-17 12:00:42 +00:00
Wim Taymans
9fccefe949 gst/: Fix passthrough in ffmpegcolorspace.
Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_link),
(gst_audiofilter_chain):
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_get_type), (gst_audioringbuffer_class_init),
(audioringbuffer_thread_func), (gst_audioringbuffer_init),
(gst_audioringbuffer_acquire), (gst_audioringbuffer_release),
(gst_audioringbuffer_play), (gst_audioringbuffer_stop),
(gst_audioringbuffer_delay), (gst_audiosink_class_init),
(gst_audiosink_create_ringbuffer):
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
(gst_audio_convert_caps_remove_format_info),
(gst_audio_convert_getcaps), (gst_audio_convert_setcaps),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
(gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_chain):
Fix passthrough in ffmpegcolorspace.
Fix memset in audiosink on wrong memory.
2005-05-17 10:47:02 +00:00
David Schleef
264e9ec43c gst/playback/gststreaminfo.c: Port from GstData to GstMiniObject.
Original commit message from CVS:
* gst/playback/gststreaminfo.c: (cb_probe): Port from GstData
to GstMiniObject.
2005-05-16 17:55:29 +00:00
David Schleef
d90ee5bfa3 Port from GstData to GstMiniObject.
Original commit message from CVS:
Port from GstData to GstMiniObject.
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_dispose):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_buffer_from_page),
(gst_ogg_mux_queue_pads), (gst_ogg_mux_set_header_on_caps),
(gst_ogg_mux_collected):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
* ext/theora/theoradec.c: (theora_handle_comment_packet),
(theora_handle_data_packet):
* ext/theora/theoraenc.c: (theora_buffer_from_packet),
(theora_set_header_on_caps), (theora_enc_chain):
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
(vorbis_handle_comment_packet):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_set_header_on_caps):
* ext/vorbis/vorbisparse.c: (vorbis_parse_set_header_on_caps):
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audiofilter_chain):
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_chain):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_get_buffer):
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init):
* gst/playback/gstplaybasebin.c: (check_queue), (probe_triggered),
(mute_stream), (silence_stream):
* gst/playback/gstplaybin.c: (gst_play_bin_class_init):
* gst/volume/gstvolume.c: (volume_transform):
* sys/ximage/ximagesink.c: (gst_ximage_buffer_finalize),
(gst_ximage_buffer_init), (gst_ximage_buffer_class_init),
(gst_ximage_buffer_get_type), (gst_ximagesink_check_xshm_calls),
(gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy),
(gst_ximagesink_ximage_put), (gst_ximagesink_imagepool_clear),
(gst_ximagesink_show_frame), (gst_ximagesink_buffer_free),
(gst_ximagesink_buffer_alloc):
* sys/ximage/ximagesink.h:
2005-05-16 15:35:52 +00:00
Ronald S. Bultje
4c7a8ba0ec gst/playback/gstplaybasebin.*: Post buffer-fullness on the bus.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(fill_buffer), (check_queue), (queue_threshold_reached),
(queue_out_of_data):
* gst/playback/gstplaybasebin.h:
Post buffer-fullness on the bus.
2005-05-12 17:05:15 +00:00
Ronald S. Bultje
09d04c380c gst/playback/: Move setup_output_pads into a virtual function, remove group-switch (no longer needed) and redirect (h...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (gst_decode_bin_class_init),
(try_to_link_1):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(group_commit), (probe_triggered), (setup_source),
(gst_play_base_bin_change_state):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (remove_sinks), (setup_sinks),
(gst_play_bin_change_state):
Move setup_output_pads into a virtual function, remove
group-switch (no longer needed) and redirect (handled by bus
now) signals.
2005-05-12 16:16:14 +00:00
Ronald S. Bultje
0209cb45e5 gst/playback/: Rough port of playbin. Needs some more work, but is mostly done, and uses a few locks in important pla...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_get_type),
(gst_play_base_bin_class_init), (gst_play_base_bin_finalize),
(get_active_group), (get_building_group), (group_destroy),
(group_commit), (check_queue), (queue_overrun),
(queue_threshold_reached), (queue_out_of_data),
(gen_preroll_element), (remove_groups), (unknown_type),
(add_element_stream), (no_more_pads), (probe_triggered),
(preroll_unlinked), (new_decoded_pad), (setup_subtitle),
(setup_substreams), (setup_source), (finish_source),
(prepare_output), (muted_group_change_state),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property),
(gst_play_base_bin_change_state):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (gst_play_bin_set_property),
(gen_video_element), (gen_text_element), (gen_audio_element),
(gen_vis_element), (remove_sinks), (add_sink), (setup_sinks),
(gst_play_bin_change_state):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init),
(cb_probe), (gst_stream_info_new), (gst_stream_info_dispose),
(stream_info_change_state), (gst_stream_info_set_mute),
(gst_stream_info_get_property):
* gst/playback/gststreaminfo.h:
* gst/playback/gststreamselector.c: (gst_stream_selector_init),
(gst_stream_selector_get_linked_pad),
(gst_stream_selector_getcaps),
(gst_stream_selector_get_linked_pads),
(gst_stream_selector_request_new_pad), (gst_stream_selector_chain):
* gst/playback/gststreamselector.h:
Rough port of playbin. Needs some more work, but is mostly done,
and uses a few locks in important places, which should make stuff
like chain-switches clean. Still uses GST_STATE() in a few places,
which isn't all that good an idea, subtitles/elements disabled
because no elements to test with and thus probably broken, query
and event handling moved to GstBin, internal thread removed
alltogether because the pipeline does that for us now. Can play
Ogg/Vorbis files. Haven't tested anything else yet.
2005-05-12 15:22:05 +00:00
Ronald S. Bultje
9d6b1f28fa ext/ogg/gstoggdemux.c: Do no-more-pads (needed for autoplugging).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_activate_chain):
Do no-more-pads (needed for autoplugging).
2005-05-12 11:28:40 +00:00
Andy Wingo
3aacd7982e ext/vorbis/vorbisdec.c (vorbis_handle_comment_packet): Post a message to the bus with the tags. Still not sent downst...
Original commit message from CVS:
* ext/vorbis/vorbisdec.c (vorbis_handle_comment_packet): Post a
message to the bus with the tags. Still not sent downstream tho.

* gst/playback/gstdecodebin.c (remove_element_chain): Unref after
get_parent.
(remove_element_chain): Use OBJECT_PARENT instead of get_parent to
avoid refcounting hassles.
2005-05-11 03:20:15 +00:00
Andy Wingo
a214f5bf7b gst/volume/Makefile.am: gst/volume/demo.c gst/volume/gstvolume.h
Original commit message from CVS:
2005-05-09  Andy Wingo  <wingo@pobox.com>

* gst/volume/Makefile.am:
* gst/volume/demo.c
* gst/volume/gstvolume.h
* gst/volume/gstvolume.c: Port to 0.9 API, derive from
basetransform. Probably need an audio filter base class.
2005-05-09 21:37:17 +00:00
Wim Taymans
8aeaf8ed14 Make caps writable before writing to it.
Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_sink_setcaps),
(gst_vorbisenc_src_query), (gst_vorbisenc_sink_query),
(gst_vorbisenc_set_header_on_caps), (gst_vorbisenc_sink_event),
(gst_vorbisenc_chain):
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
(gst_audio_convert_caps_remove_format_info),
(gst_audio_convert_getcaps), (gst_audio_convert_setcaps),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
Make caps writable before writing to it.
Fix negotiation in audioconvert some more.
2005-05-09 17:07:27 +00:00
Wim Taymans
13803bc40f gst/videorate/gstvideorate.c: Better negotiation.
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_transformcaps),
(gst_videorate_getcaps), (gst_videorate_setcaps),
(gst_videorate_event), (gst_videorate_chain):
Better negotiation.
2005-05-09 14:33:05 +00:00
Wim Taymans
fe62a9caa2 gst/videorate/gstvideorate.c: Port videorate, do a better job at negotiation while we're at it.
Original commit message from CVS:
* gst/videorate/gstvideorate.c: (gst_videorate_class_init),
(gst_videorate_getcaps), (gst_videorate_setcaps),
(gst_videorate_blank_data), (gst_videorate_init),
(gst_videorate_event), (gst_videorate_chain),
(gst_videorate_change_state):
Port videorate, do a better job at negotiation while we're at
it.
2005-05-09 14:03:20 +00:00
Jan Schmidt
8a124c2c66 configure.ac: Disable libvisual
Original commit message from CVS:
* configure.ac:
Disable libvisual

* examples/Makefile.am:
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/riff/Makefile.am:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/video/Makefile.am:
Fixups for missing variables.
2005-05-09 11:55:12 +00:00
Wim Taymans
0ba57f5816 Port to new query API.
Original commit message from CVS:
Port to new query API.
Updated seek.
Cleanups in x[v]imagesink
2005-05-09 10:56:13 +00:00
Andy Wingo
276f6fe559 ext/: ext/ogg/gstoggdemux.c (gst_ogg_demux_perform_seek) (gst_ogg_demux_read_chain, gst_ogg_demux_read_end_chain) ext...
Original commit message from CVS:
2005-05-09  Andy Wingo  <wingo@pobox.com>

* ext/alsa/gstalsasink.h:
* ext/gnomevfs/gstgnomevfssrc.c:
(gst_gnomevfssrc_get_icy_metadata):
* ext/ogg/gstoggdemux.c (gst_ogg_demux_perform_seek)
(gst_ogg_demux_read_chain, gst_ogg_demux_read_end_chain)
* ext/theora/theoradec.c (theora_dec_src_query)
(theora_dec_src_event, theora_dec_sink_event)
(theora_handle_comment_packet, theora_handle_data_packet):
* ext/theora/theoraenc.c (theora_enc_chain):
* ext/vorbis/vorbisdec.c (vorbis_dec_src_event)
(vorbis_dec_sink_event, vorbis_handle_comment_packet):
* gst/audioconvert/gstaudioconvert.c (gst_audio_convert_getcaps):
* gst/typefind/gsttypefindfunctions.c (mp3_type_find)
(qt_type_find):
* gst/videotestsrc/videotestsrc.c (paint_setup_I420)
(paint_setup_YV12, paint_setup_YUY2, paint_setup_UYVY)
(paint_setup_YVYU, paint_setup_IYU2, paint_setup_Y41B)
(paint_setup_Y42B, paint_setup_Y800, paint_setup_IMC1)
(paint_setup_IMC2, paint_setup_IMC3, paint_setup_IMC4)
(paint_setup_YVU9, paint_setup_YUV9, paint_setup_xRGB8888)
(paint_setup_xBGR8888, paint_setup_RGBx8888)
(paint_setup_BGRx8888, paint_setup_RGB888, paint_setup_BGR888)
(paint_setup_RGB565, paint_setup_xRGB1555):
* gst/videotestsrc/videotestsrc.h:
* sys/ximage/ximagesink.c (gst_ximagesink_buffer_alloc):
* sys/xvimage/xvimagesink.c (gst_xvimagesink_get_xv_support)
(gst_xvimagesink_setcaps, gst_xvimagesink_buffer_alloc):
GCC4 fixes.

* ext/ogg/gstoggdemux.c (gst_ogg_demux_find_chains): Use the new
gst_pad_query_position. Fixes oggdemux.
2005-05-09 07:03:13 +00:00
David Schleef
b355a0c389 configure.ac: Require liboil.
Original commit message from CVS:
* configure.ac: Require liboil.
* gst/videotestsrc/gstvideotestsrc.c: Fix up liboil calls, add
a few more.
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
2005-05-09 01:20:55 +00:00
Wim Taymans
b04e50a513 gst/ffmpegcolorspace/gstffmpegcolorspace.c: Well, unreffing a buffer right before pushing it is asking for trouble..
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
(gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_chain):
Well, unreffing a buffer right before pushing it is asking
for trouble..
2005-05-06 19:52:04 +00:00
Christian Schaller
b3907e561f fix pc.in file for gstreamer-libs
Original commit message from CVS:
fix pc.in file for gstreamer-libs
2005-05-06 17:55:41 +00:00
Wim Taymans
3ec8704c9e Fixed negotiation wrt _peer_get_caps()
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
(gst_audio_convert_caps_remove_format_info),
(gst_audio_convert_getcaps), (gst_audio_convert_setcaps),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
(gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_chain):
* gst/sine/Makefile.am:
* gst/sine/gstsinesrc.c: (gst_sinesrc_get_type),
(gst_sinesrc_class_init), (gst_sinesrc_init),
(gst_sinesrc_src_fixate), (gst_sinesrc_setcaps),
(gst_sinesrc_src_query), (gst_sinesrc_create), (gst_sinesrc_start),
(gst_sinesrc_update_freq):
* gst/sine/gstsinesrc.h:
* gst/tcp/gstmultifdsink.c:
* sys/xvimage/xvimagesink.c:
Fixed negotiation wrt _peer_get_caps()
Some cleanups.
2005-05-06 17:13:49 +00:00
Wim Taymans
fa8c2eb659 Make the base audiosink return an error when there is no audiobuffer negotiated.
Original commit message from CVS:
Make the base audiosink return an error when there is no
audiobuffer negotiated.
2005-05-06 16:18:24 +00:00
Zaheer Abbas Merali
5d82e5d18d ext/Makefile.am: Disable cdparanoia until someone ports it!
Original commit message from CVS:
2005-05-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/Makefile.am:
Disable cdparanoia until someone ports it!
2005-05-06 10:09:43 +00:00
Wim Taymans
9d858bfb1f ext/ogg/gstoggdemux.c: And revert after wingo's revert.. sigh..
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_typefind),
(gst_ogg_demux_sink_activate):
And revert after wingo's revert.. sigh..
2005-05-06 08:26:35 +00:00
Andy Wingo
21c3b52296 gst/audiorate/gstaudiorate.c (gst_audiorate_class_init): Pacify
Original commit message from CVS:
2005-05-05  Andy Wingo  <wingo@pobox.com>

* gst/audiorate/gstaudiorate.c (gst_audiorate_class_init): Pacify
GObject.
* configure.ac: Return audiorate and subparse from the ghetto.
Re-enable -Wall -Werror.
* gst/subparse/gstsubparse.c:
* gst/subparse/gstsubparse.h: Port to 0.9. Can operate loop-based
or chain-based. Cleaned up a bit. Not tested.
2005-05-06 03:32:51 +00:00