diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 3361679ca3..9a26342a2b 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -7590,6 +7590,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak) break; } case FOURCC_rle_: + case FOURCC_WRLE: { gst_caps_set_simple (stream->caps, "depth", G_TYPE_INT, QT_UINT16 (stsd_data + offset + 82), NULL); @@ -10236,6 +10237,11 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream, caps = gst_caps_new_simple ("video/x-rle", "layout", G_TYPE_STRING, "quicktime", NULL); break; + case GST_MAKE_FOURCC ('W', 'R', 'L', 'E'): + _codec ("Run-length encoding"); + caps = gst_caps_new_simple ("video/x-rle", + "layout", G_TYPE_STRING, "microsoft", NULL); + break; case GST_MAKE_FOURCC ('I', 'V', '3', '2'): case GST_MAKE_FOURCC ('i', 'v', '3', '2'): _codec ("Indeo Video 3"); diff --git a/gst/isomp4/qtdemux_fourcc.h b/gst/isomp4/qtdemux_fourcc.h index 9a34dfdd10..027f357056 100644 --- a/gst/isomp4/qtdemux_fourcc.h +++ b/gst/isomp4/qtdemux_fourcc.h @@ -144,6 +144,7 @@ G_BEGIN_DECLS #define FOURCC_btrt GST_MAKE_FOURCC('b','t','r','t') #define FOURCC_VP31 GST_MAKE_FOURCC('V','P','3','1') #define FOURCC_rle_ GST_MAKE_FOURCC('r','l','e',' ') +#define FOURCC_WRLE GST_MAKE_FOURCC('W','R','L','E') #define FOURCC_MAC6 GST_MAKE_FOURCC('M','A','C','6') #define FOURCC_MAC3 GST_MAKE_FOURCC('M','A','C','3') #define FOURCC_ima4 GST_MAKE_FOURCC('i','m','a','4')