Rewrite a bit: use GstBaseSink::start and stop instead of a state change function...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 18 Apr 2006 17:17:55 +0000 (17:17 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 18 Apr 2006 17:17:55 +0000 (17:17 +0000)
commit1c8e824c4eccf22c0146c01a27af8dd7596fc2b1
treef6adc36c2b4223bb463fbcedb0ec554311e6d14f
parente83351eeff17fff26caef41187f669d3c19a73e8
Rewrite a bit: use GstBaseSink::start and stop instead of a state change function; use GST_ELEMENT_ERROR for error re...

Original commit message from CVS:
* ext/shout2/gstshout2.c: (gst_shout2send_base_init),
(gst_shout2send_class_init), (gst_shout2send_init),
(set_shout_metadata), (gst_shout2send_set_metadata),
(gst_shout2send_event), (gst_shout2send_start),
(gst_shout2send_connect), (gst_shout2send_stop),
(gst_shout2send_render), (gst_shout2send_set_property),
(gst_shout2send_get_property), (gst_shout2send_setcaps),
(plugin_init):
* ext/shout2/gstshout2.h:
* po/POTFILES.in:
Rewrite a bit: use GstBaseSink::start and stop instead of a state
change function; use GST_ELEMENT_ERROR for error reporting, not
g_error() or GST_ERROR(); don't unref caps in setcaps function,
will cause crashes or assertion failures; remove (unused) "sync"
property, basesink already has such a property; misc. other
minor fixes and cleanups.
ChangeLog
ext/shout2/gstshout2.c
ext/shout2/gstshout2.h
po/POTFILES.in