summaryrefslogtreecommitdiff
path: root/sys/d3d11/gstd3d11vp9dec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/d3d11/gstd3d11vp9dec.cpp')
-rw-r--r--sys/d3d11/gstd3d11vp9dec.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/d3d11/gstd3d11vp9dec.cpp b/sys/d3d11/gstd3d11vp9dec.cpp
index 5cce338a9..72c823469 100644
--- a/sys/d3d11/gstd3d11vp9dec.cpp
+++ b/sys/d3d11/gstd3d11vp9dec.cpp
@@ -1220,11 +1220,11 @@ gst_d3d11_vp9_dec_register (GstPlugin * plugin, GstD3D11Device * device,
/* To cover both landscape and portrait, select max value */
resolution = MAX (max_width, max_height);
gst_caps_set_simple (sink_caps,
- "width", GST_TYPE_INT_RANGE, 64, resolution,
- "height", GST_TYPE_INT_RANGE, 64, resolution, NULL);
+ "width", GST_TYPE_INT_RANGE, 1, resolution,
+ "height", GST_TYPE_INT_RANGE, 1, resolution, NULL);
gst_caps_set_simple (src_caps,
- "width", GST_TYPE_INT_RANGE, 64, resolution,
- "height", GST_TYPE_INT_RANGE, 64, resolution, NULL);
+ "width", GST_TYPE_INT_RANGE, 1, resolution,
+ "height", GST_TYPE_INT_RANGE, 1, resolution, NULL);
type_info.class_data =
gst_d3d11_decoder_class_data_new (device, sink_caps, src_caps);