mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 10:38:27 +00:00
just make it compile with --disable-gst-debug.
Original commit message from CVS: just make it compile with --disable-gst-debug.
This commit is contained in:
parent
66547285fe
commit
fab43dc01e
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -506,8 +506,6 @@ gst_ffmpegenc_chain_video (GstPad * pad, GstBuffer * inbuf)
|
|||
{
|
||||
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,
|
||||
|
@ -530,8 +528,12 @@ gst_ffmpegenc_chain_video (GstPad * pad, GstBuffer * inbuf)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue