projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0105dd
)
structure: print a g_warning() if someone tries to construct 0.10-style raw audio...
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Wed, 29 Feb 2012 12:41:44 +0000
(12:41 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Wed, 29 Feb 2012 12:41:44 +0000
(12:41 +0000)
gst/gststructure.c
patch
|
blob
|
history
diff --git
a/gst/gststructure.c
b/gst/gststructure.c
index 33918e35b3a03dbac8d110d41687166946ca2189..38e1f14a634fdf4132c2d9e433fd77701c51481d 100644
(file)
--- a/
gst/gststructure.c
+++ b/
gst/gststructure.c
@@
-183,6
+183,14
@@
gst_structure_validate_name (const gchar * name)
return FALSE;
}
+ if (strncmp (name, "video/x-raw-", 12) == 0) {
+ g_warning ("0.10-style raw video caps are being created. Should be "
+ "video/x-raw,format=(string).. now.");
+ } else if (strncmp (name, "audio/x-raw-", 12) == 0) {
+ g_warning ("0.10-style raw audio caps are being created. Should be "
+ "audio/x-raw,format=(string).. now.");
+ }
+
return TRUE;
}
#endif