mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
qtdemux: Add WRLE support
This commit is contained in:
parent
aa7d597120
commit
96a8fb92e2
2 changed files with 7 additions and 0 deletions
|
@ -7590,6 +7590,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case FOURCC_rle_:
|
case FOURCC_rle_:
|
||||||
|
case FOURCC_WRLE:
|
||||||
{
|
{
|
||||||
gst_caps_set_simple (stream->caps,
|
gst_caps_set_simple (stream->caps,
|
||||||
"depth", G_TYPE_INT, QT_UINT16 (stsd_data + offset + 82), NULL);
|
"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",
|
caps = gst_caps_new_simple ("video/x-rle",
|
||||||
"layout", G_TYPE_STRING, "quicktime", NULL);
|
"layout", G_TYPE_STRING, "quicktime", NULL);
|
||||||
break;
|
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'):
|
||||||
case GST_MAKE_FOURCC ('i', 'v', '3', '2'):
|
case GST_MAKE_FOURCC ('i', 'v', '3', '2'):
|
||||||
_codec ("Indeo Video 3");
|
_codec ("Indeo Video 3");
|
||||||
|
|
|
@ -144,6 +144,7 @@ G_BEGIN_DECLS
|
||||||
#define FOURCC_btrt GST_MAKE_FOURCC('b','t','r','t')
|
#define FOURCC_btrt GST_MAKE_FOURCC('b','t','r','t')
|
||||||
#define FOURCC_VP31 GST_MAKE_FOURCC('V','P','3','1')
|
#define FOURCC_VP31 GST_MAKE_FOURCC('V','P','3','1')
|
||||||
#define FOURCC_rle_ GST_MAKE_FOURCC('r','l','e',' ')
|
#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_MAC6 GST_MAKE_FOURCC('M','A','C','6')
|
||||||
#define FOURCC_MAC3 GST_MAKE_FOURCC('M','A','C','3')
|
#define FOURCC_MAC3 GST_MAKE_FOURCC('M','A','C','3')
|
||||||
#define FOURCC_ima4 GST_MAKE_FOURCC('i','m','a','4')
|
#define FOURCC_ima4 GST_MAKE_FOURCC('i','m','a','4')
|
||||||
|
|
Loading…
Reference in a new issue