summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-12-18 04:02:56 +0000
committerDavid Schleef <ds@schleef.org>2003-12-18 04:02:56 +0000
commit2c881e47e58db20895b652b141582561f69bf0e2 (patch)
tree2f1860d4403a1750e79826fccd44cd032b5f8750
parentf0fca4386c2f6230fd1d8707a700b6fa41e81310 (diff)
downloadgstreamer-plugins-base-2c881e47e58db20895b652b141582561f69bf0e2.tar.gz
make error more descriptive
Original commit message from CVS: make error more descriptive
m---------common0
-rw-r--r--gst/videotestsrc/videotestsrc.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/common b/common
-Subproject 9f37b3e515260c7b294222a502b2cc75dd0983b
+Subproject cd5507ae3df8dc48c07df9e37878846b6b79faa
diff --git a/gst/videotestsrc/videotestsrc.c b/gst/videotestsrc/videotestsrc.c
index 611aea7fc..ee4bd5a9b 100644
--- a/gst/videotestsrc/videotestsrc.c
+++ b/gst/videotestsrc/videotestsrc.c
@@ -398,7 +398,7 @@ struct fourcc_list_struct *paintinfo_find_by_structure(const GstStructure *struc
int fourcc;
guint32 format;
- ret = gst_structure_get_fourcc(structure, "format", &format);
+ ret = gst_structure_get_fourcc (structure, "format", &format);
if (!ret) return NULL;
for (i = 0; i < n_fourccs; i++) {
s = fourcc_list[i].fourcc;
@@ -435,7 +435,7 @@ struct fourcc_list_struct *paintinfo_find_by_structure(const GstStructure *struc
return NULL;
}
- g_critical("format not found");
+ g_critical("format not found for media type %s", media_type);
return NULL;
}