Commit d372a514 authored by Joshua M. Doe's avatar Joshua M. Doe Committed by Tim-Philipp Müller

dshowvideosrc: fix template caps to reflect actual supported caps

parent 6d126705
...@@ -34,14 +34,9 @@ GST_DEBUG_CATEGORY_STATIC (dshowvideosrc_debug); ...@@ -34,14 +34,9 @@ GST_DEBUG_CATEGORY_STATIC (dshowvideosrc_debug);
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-raw, format=(string) { " GST_STATIC_CAPS (
GST_VIDEO_NE(BGR) ", " GST_VIDEO_CAPS_MAKE ("{ I420, BGR, YUY2, UYVY, BGRx, BGR16, BGR15, "
GST_VIDEO_NE(I420) ", " "GRAY8 }") "; "
GST_VIDEO_NE(YUY2) ", "
GST_VIDEO_NE(UYVY) " }, "
"width = " GST_VIDEO_SIZE_RANGE ", "
"height = " GST_VIDEO_SIZE_RANGE ", "
"framerate = " GST_VIDEO_FPS_RANGE "; "
"video/x-dv, " "video/x-dv, "
"format= (string) DVSD, " "format= (string) DVSD, "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment