diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-06-01 13:28:46 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-06-01 13:28:46 +0000 |
commit | 186265276ba6294c9eb7591258f7db2d0b6d9280 (patch) | |
tree | 1e3aa7ff983625ad8ca188b075a011c15efc1bcb /gst/avi/gstavimux.c | |
parent | d379242755ed5772155530f17613733d09985eaa (diff) |
Prevent warning
Original commit message from CVS:
Prevent warning
Diffstat (limited to 'gst/avi/gstavimux.c')
-rw-r--r-- | gst/avi/gstavimux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index 3a925442..6d816575 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -434,7 +434,8 @@ gst_avimux_sinkconnect (GstPad *pad, GstCaps *vscaps) { gint layer = 3; - if (gst_caps_has_property(caps, "layer")) + if (GST_CAPS_PROPERTIES(caps) != NULL && + gst_caps_has_property(caps, "layer")) gst_caps_get_int(caps, "layer", &layer); else GST_DEBUG(GST_CAT_PLUGIN_INFO, |