From 820dc3a72dfbf9c62d226a556724732b0b223af6 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 18 Sep 2006 15:00:51 +0000 Subject: [PATCH] sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support) Original commit message from CVS: * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support) Give better warning message (add object and detail). --- ChangeLog | 5 +++++ sys/xvimage/xvimagesink.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e6b6e95c1e..2a1858c9bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-18 Stefan Kost + + * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support) + Give better warning message (add object and detail). + 2006-09-18 Stefan Kost * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support), diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 30f80647fb..d72fbe7a01 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -1206,7 +1206,8 @@ gst_xvimagesink_get_xv_support (GstXvImageSink * xvimagesink, ckey = (1 << 16) | (2 << 8) | 3; break; default: - GST_WARNING ("unsupported color depth"); + GST_WARNING_OBJECT (xvimagesink, "unsupported color depth %d", + xcontext->depth); break; } ckey = CLAMP (ckey, attr[i].min_value, attr[i].max_value);