From 4f015c594c1e6eba3674f76de14009d4f5c42657 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 12 Sep 2012 10:18:53 +0200 Subject: [PATCH] qtdemux: add support for prores Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683839 --- gst/isomp4/qtdemux.c | 4 ++++ gst/isomp4/qtdemux_fourcc.h | 1 + 2 files changed, 5 insertions(+) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index afff96e..20845ea 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -9539,6 +9539,10 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream, _codec ("On2 VP8"); caps = gst_caps_from_string ("video/x-vp8"); break; + case GST_MAKE_FOURCC ('a', 'p', 'c', 's'): + _codec ("Apple ProRes"); + caps = gst_caps_from_string ("video/x-prores"); + break; case FOURCC_ovc1: _codec ("VC-1"); caps = gst_caps_new_simple ("video/x-wmv", diff --git a/gst/isomp4/qtdemux_fourcc.h b/gst/isomp4/qtdemux_fourcc.h index f2a3492..716dfc9 100644 --- a/gst/isomp4/qtdemux_fourcc.h +++ b/gst/isomp4/qtdemux_fourcc.h @@ -173,6 +173,7 @@ G_BEGIN_DECLS #define FOURCC_tx3g GST_MAKE_FOURCC('t','x','3','g') #define FOURCC_mp4s GST_MAKE_FOURCC('m','p','4','s') #define FOURCC_gama GST_MAKE_FOURCC('g','a','m','a') +#define FOURCC_apcs GST_MAKE_FOURCC('a','p','c','s') /* SVQ3 fourcc */ #define FOURCC_SEQH GST_MAKE_FOURCC('S','E','Q','H') -- 2.7.4