diff options
author | Michael Smith <msmith@rdio.com> | 2012-10-12 14:35:24 -0700 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-19 14:40:27 +0100 |
commit | d08b8f891dde266a862c725163ced335a3a9191a (patch) | |
tree | bec2b1b97eeab7527d0ed5fde7d0592b09562f29 | |
parent | 185e92c14b7678dd6c53d126500dd07d6386d872 (diff) |
qtdemux: support more different fourcc values for other ProRes variants.
-rw-r--r-- | gst/isomp4/qtdemux.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index a22a69006..36d2df647 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -9514,8 +9514,34 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream, caps = gst_caps_from_string ("video/x-vp8"); break; case GST_MAKE_FOURCC ('a', 'p', 'c', 's'): + _codec ("Apple ProRes LT"); + caps = + gst_caps_new_simple ("video/x-prores", "variant", G_TYPE_STRING, "lt", + NULL); + break; + case GST_MAKE_FOURCC ('a', 'p', 'c', 'h'): + _codec ("Apple ProRes HQ"); + caps = + gst_caps_new_simple ("video/x-prores", "variant", G_TYPE_STRING, "hq", + NULL); + break; + case GST_MAKE_FOURCC ('a', 'p', 'c', 'n'): _codec ("Apple ProRes"); - caps = gst_caps_from_string ("video/x-prores"); + caps = + gst_caps_new_simple ("video/x-prores", "variant", G_TYPE_STRING, + "standard", NULL); + break; + case GST_MAKE_FOURCC ('a', 'p', 'c', 'o'): + _codec ("Apple ProRes Proxy"); + caps = + gst_caps_new_simple ("video/x-prores", "variant", G_TYPE_STRING, + "proxy", NULL); + break; + case GST_MAKE_FOURCC ('a', 'p', '4', 'h'): + _codec ("Apple ProRes 4444"); + caps = + gst_caps_new_simple ("video/x-prores", "variant", G_TYPE_STRING, + "4444", NULL); break; case FOURCC_ovc1: _codec ("VC-1"); |