diff options
author | Rob Clark <rob@ti.com> | 2011-12-26 22:04:04 -0600 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2012-10-03 03:35:51 +1000 |
commit | 4dc648d3430b67592cf1413ccef415f70889d71e (patch) | |
tree | 46705ddfb78b78ef68f97a96ab6de5ec38242ff8 /gst/dvdspu/gstdvdspu.c | |
parent | 6e4a9e2e243e7d7133f310b254f70aa9d355c1e6 (diff) |
dvdspu: add YV12 and NV12 support
https://bugzilla.gnome.org/show_bug.cgi?id=667220
Conflicts:
gst/dvdspu/gstdvdspu.c
gst/dvdspu/gstdvdspu.h
gst/dvdspu/gstspu-pgs.c
gst/dvdspu/gstspu-vobsub-render.c
Diffstat (limited to 'gst/dvdspu/gstdvdspu.c')
-rw-r--r-- | gst/dvdspu/gstdvdspu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index 94b307e4e3..b64cbd3a79 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -61,17 +61,15 @@ static GstStaticPadTemplate video_sink_factory = GST_STATIC_PAD_TEMPLATE ("video", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("video/x-raw, " "format = (string) { I420 }, " + GST_STATIC_CAPS ("video/x-raw, " "format = (string) { I420, NV12, YV12 }, " "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ]") - /* FIXME: Can support YV12 one day too */ ); static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("video/x-raw, " "format = (string) { I420 }, " + GST_STATIC_CAPS ("video/x-raw, " "format = (string) { I420, NV12, YV12 }, " "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ]") - /* FIXME: Can support YV12 one day too */ ); static GstStaticPadTemplate subpic_sink_factory = |