qtdemux: Add support for Lagarith fourcc tag

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6831>
This commit is contained in:
valadaptive 2024-05-12 18:59:24 -04:00 committed by GStreamer Marge Bot
parent 6198c7fba2
commit b923a3ed61
2 changed files with 5 additions and 0 deletions

View file

@ -54,6 +54,7 @@ G_BEGIN_DECLS
#define FOURCC_FMP4 GST_MAKE_FOURCC('F','M','P','4') #define FOURCC_FMP4 GST_MAKE_FOURCC('F','M','P','4')
#define FOURCC_H264 GST_MAKE_FOURCC('H','2','6','4') #define FOURCC_H264 GST_MAKE_FOURCC('H','2','6','4')
#define FOURCC_H265 GST_MAKE_FOURCC('H','2','6','5') #define FOURCC_H265 GST_MAKE_FOURCC('H','2','6','5')
#define FOURCC_LAGS GST_MAKE_FOURCC('L','A','G','S')
#define FOURCC_MAC3 GST_MAKE_FOURCC('M','A','C','3') #define FOURCC_MAC3 GST_MAKE_FOURCC('M','A','C','3')
#define FOURCC_MAC6 GST_MAKE_FOURCC('M','A','C','6') #define FOURCC_MAC6 GST_MAKE_FOURCC('M','A','C','6')
#define FOURCC_MP4V GST_MAKE_FOURCC('M','P','4','V') #define FOURCC_MP4V GST_MAKE_FOURCC('M','P','4','V')

View file

@ -15846,6 +15846,10 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
g_free (format); g_free (format);
break; break;
} }
case FOURCC_LAGS:
_codec ("Lagarith lossless video codec");
caps = gst_caps_new_empty_simple ("video/x-lagarith");
break;
case GST_MAKE_FOURCC ('k', 'p', 'c', 'd'): case GST_MAKE_FOURCC ('k', 'p', 'c', 'd'):
default: default:
{ {