summaryrefslogtreecommitdiffstats
path: root/gst/cutter
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-03-30 17:06:26 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-03-30 17:06:26 +0000
commit13d9e8d35227337a04b0cd24a0dda7c0c3961289 (patch)
tree9a4e6fa918604e74a46251b50d2f26d7c0d2d024 /gst/cutter
parentc5e4b06ff518ca83a403c175e22a802ee73714f1 (diff)
Changed to the new props API
Original commit message from CVS: Changed to the new props API Other small tuff.
Diffstat (limited to 'gst/cutter')
-rw-r--r--gst/cutter/gstcutter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c
index a8fd2108..74d582e5 100644
--- a/gst/cutter/gstcutter.c
+++ b/gst/cutter/gstcutter.c
@@ -235,13 +235,13 @@ gst_cutter_chain (GstPad *pad, GstBuffer *buf)
if (filter->silent)
{
/* g_print ("DEBUG: cutter: cut to here, turning off out\n"); */
- gtk_signal_emit (G_OBJECT (filter), gst_cutter_signals[CUT_STOP]);
+ g_signal_emit (G_OBJECT (filter), gst_cutter_signals[CUT_STOP], 0);
}
else
{
/* g_print ("DEBUG: cutter: start from here, turning on out\n"); */
/* first of all, flush current buffer */
- gtk_signal_emit (G_OBJECT (filter), gst_cutter_signals[CUT_START]);
+ g_signal_emit (G_OBJECT (filter), gst_cutter_signals[CUT_START], 0);
g_print ("DEBUG: cutter: flushing buffer ");
while (filter->pre_buffer)
{
@@ -389,7 +389,7 @@ gst_cutter_get_caps (GstPad *pad, GstCutter* filter)
/* FIXME : Please change this to a better warning method ! */
if (caps == NULL)
printf ("WARNING: cutter: get_caps: Could not get caps of pad !\n");
- filter->width = gst_caps_get_int (caps, "width");
+ gst_caps_get_int (caps, "width", &filter->width);
filter->max_sample = gst_audio_highest_sample_value (pad);
filter->have_caps = TRUE;
}