+2006-04-24 Edgard Lima <edgard.lima@indt.org.br>
+
+ * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_video):
+ just make it compile with --disable-gst-debug.
+
2006-04-21 Andy Wingo <wingo@pobox.com>
* configure.ac (GST_MAJORMINOR): Drop the required gstreamer
{
GstFFMpegEnc *ffmpegenc = (GstFFMpegEnc *) (GST_PAD_PARENT (pad));
GstBuffer *outbuf;
- GstFFMpegEncClass *oclass =
- (GstFFMpegEncClass *) (G_OBJECT_GET_CLASS (ffmpegenc));
gint ret_size = 0, frame_size;
GST_DEBUG_OBJECT (ffmpegenc,
GST_BUFFER_SIZE (outbuf), ffmpegenc->picture);
if (ret_size < 0) {
+#ifndef GST_DISABLE_GST_DEBUG
+ GstFFMpegEncClass *oclass =
+ (GstFFMpegEncClass *) (G_OBJECT_GET_CLASS (ffmpegenc));
GST_ERROR_OBJECT (ffmpegenc,
"ffenc_%s: failed to encode buffer", oclass->in_plugin->name);
+#endif /* GST_DISABLE_GST_DEBUG */
gst_buffer_unref (inbuf);
gst_buffer_unref (outbuf);
return GST_FLOW_OK;