diff options
Diffstat (limited to 'gst-decoder.c')
-rw-r--r-- | gst-decoder.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-decoder.c b/gst-decoder.c index 22dc068..fd28201 100644 --- a/gst-decoder.c +++ b/gst-decoder.c @@ -91,6 +91,9 @@ pad_probe(GstPad *pad, GstPadProbeInfo *info, gpointer user_data) case GST_VIDEO_FORMAT_NV12: dec->format = DRM_FORMAT_NV12; break; + case GST_VIDEO_FORMAT_YUY2: + dec->format = DRM_FORMAT_YUYV; + break; default: GST_ERROR("unknown format\n"); return GST_PAD_PROBE_OK; |