+2007-09-27 Tim-Philipp Müller <tim at centricular dot net>
+
+ * ext/xvid/gstxvidenc.c:
+ * ext/xvid/gstxvidenc.h:
+ Remove superfluous 'frame-encoded' signal (people can
+ use an upstream identity's 'handoff' signal or a pad
+ probe for this if they must know).
+
2007-09-27 Julien MOUTTE <julien@moutte.net>
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
);
-/* XvidEnc signals and properties */
-enum
-{
- FRAME_ENCODED,
- LAST_SIGNAL
-};
+/* XvidEnc properties */
/* maximum property-id */
static int xvidenc_prop_count;
GstStateChange transition);
static GstElementClass *parent_class = NULL;
-static guint gst_xvidenc_signals[LAST_SIGNAL] = { 0 };
#define GST_TYPE_XVIDENC_PROFILE (gst_xvidenc_profile_get_type ())
static GType
G_PARAM_READWRITE);
gst_xvidenc_add_pspec (gobject_class, pspec, container_frame_overhead);
- /* signals */
- gst_xvidenc_signals[FRAME_ENCODED] =
- g_signal_new ("frame-encoded", G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GstXvidEncClass, frame_encoded),
- NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_xvidenc_change_state);
}
if (!outbuf) /* error or no data yet */
return GST_FLOW_OK;
- /* proclaim destiny */
- g_signal_emit (G_OBJECT (xvidenc), gst_xvidenc_signals[FRAME_ENCODED], 0);
-
/* go out, multiply! */
return gst_pad_push (xvidenc->srcpad, outbuf);
}