mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Only convert caps to string when debug is enabled.
Original commit message from CVS: * gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps): Only convert caps to string when debug is enabled.
This commit is contained in:
parent
68eb1421af
commit
d9ae8db094
2 changed files with 8 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
|
||||||
|
(gst_ffmpeg_pixfmt_to_caps):
|
||||||
|
Only convert caps to string when debug is enabled.
|
||||||
|
|
||||||
2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* ext/theora/gsttheoradec.h:
|
* ext/theora/gsttheoradec.h:
|
||||||
|
|
|
@ -401,10 +401,7 @@ gst_ffmpeg_pixfmt_to_caps (enum PixelFormat pix_fmt, AVCodecContext * context)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (caps != NULL) {
|
if (caps != NULL) {
|
||||||
char *str = gst_caps_to_string (caps);
|
GST_DEBUG ("caps for pix_fmt=%d: %" GST_PTR_FORMAT, pix_fmt, caps);
|
||||||
|
|
||||||
GST_DEBUG ("caps for pix_fmt=%d: %s", pix_fmt, str);
|
|
||||||
g_free (str);
|
|
||||||
} else {
|
} else {
|
||||||
GST_LOG ("No caps found for pix_fmt=%d", pix_fmt);
|
GST_LOG ("No caps found for pix_fmt=%d", pix_fmt);
|
||||||
}
|
}
|
||||||
|
@ -447,10 +444,7 @@ gst_ffmpeg_smpfmt_to_caps (enum SampleFormat sample_fmt,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (caps != NULL) {
|
if (caps != NULL) {
|
||||||
char *str = gst_caps_to_string (caps);
|
GST_DEBUG ("caps for sample_fmt=%d: %" GST_PTR_FORMAT, sample_fmt, caps);
|
||||||
|
|
||||||
GST_DEBUG ("caps for sample_fmt=%d: %s", sample_fmt, str);
|
|
||||||
g_free (str);
|
|
||||||
} else {
|
} else {
|
||||||
GST_LOG ("No caps found for sample_fmt=%d", sample_fmt);
|
GST_LOG ("No caps found for sample_fmt=%d", sample_fmt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue