diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-02-08 18:56:06 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-08 18:56:06 +0100 |
commit | 6d7fcc6890c37889294f971ac0d49327da39b02b (patch) | |
tree | 30f33d382ba4835e251e4a98071ca54cf3af4d8a /sys/vdpau | |
parent | cde8be156fdf5e1e3533199e4e4206ad61101360 (diff) | |
download | gstreamer-plugins-bad-6d7fcc6890c37889294f971ac0d49327da39b02b.tar.gz |
vdpau: Fix comparison compiler warning
error: comparison of constant -1 with expression
of type 'const GstVideoFormat' is always false
Diffstat (limited to 'sys/vdpau')
-rw-r--r-- | sys/vdpau/gstvdpvideobufferpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vdpau/gstvdpvideobufferpool.c b/sys/vdpau/gstvdpvideobufferpool.c index 039ebdba6..afdce1688 100644 --- a/sys/vdpau/gstvdpvideobufferpool.c +++ b/sys/vdpau/gstvdpvideobufferpool.c @@ -70,7 +70,7 @@ gst_vdp_video_buffer_pool_set_config (GstBufferPool * pool, GST_LOG_OBJECT (pool, "%dx%d, caps %" GST_PTR_FORMAT, info.width, info.height, caps); - if (GST_VIDEO_INFO_FORMAT (&info) == -1) + if (GST_VIDEO_INFO_FORMAT (&info) == GST_VIDEO_FORMAT_UNKNOWN) goto unknown_format; vdppool->info = info; |