mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gstffmpegcodecmap: Add some new codec mappings
VP8 LAGARITH GSM GSM_MS
This commit is contained in:
parent
ed1b1eefaf
commit
cc4a11831d
1 changed files with 19 additions and 0 deletions
|
@ -943,6 +943,10 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
|||
caps = gst_ff_vid_caps_new (context, codec_id, "video/x-vp6-alpha", NULL);
|
||||
break;
|
||||
|
||||
case CODEC_ID_VP8:
|
||||
caps = gst_ff_vid_caps_new (context, codec_id, "video/x-vp8", NULL);
|
||||
break;
|
||||
|
||||
case CODEC_ID_THEORA:
|
||||
caps = gst_ff_vid_caps_new (context, codec_id, "video/x-theora", NULL);
|
||||
break;
|
||||
|
@ -1182,6 +1186,10 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
|||
caps = gst_ff_vid_caps_new (context, codec_id, "video/x-zmbv", NULL);
|
||||
break;
|
||||
|
||||
case CODEC_ID_LAGARITH:
|
||||
caps = gst_ff_vid_caps_new (context, codec_id, "video/x-lagarith", NULL);
|
||||
break;
|
||||
|
||||
|
||||
case CODEC_ID_WS_VQA:
|
||||
case CODEC_ID_IDCIN:
|
||||
|
@ -1430,6 +1438,14 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
|||
caps = gst_ff_aud_caps_new (context, codec_id, "audio/AMR-WB", NULL);
|
||||
break;
|
||||
|
||||
case CODEC_ID_GSM:
|
||||
caps = gst_ff_aud_caps_new (context, codec_id, "audio/x-gsm", NULL);
|
||||
break;
|
||||
|
||||
case CODEC_ID_GSM_MS:
|
||||
caps = gst_ff_aud_caps_new (context, codec_id, "audio/ms-gsm", NULL);
|
||||
break;
|
||||
|
||||
case CODEC_ID_NELLYMOSER:
|
||||
caps =
|
||||
gst_ff_aud_caps_new (context, codec_id, "audio/x-nellymoser", NULL);
|
||||
|
@ -3073,6 +3089,9 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context)
|
|||
} else if (!strcmp (mimetype, "video/x-vp6-alpha")) {
|
||||
id = CODEC_ID_VP6A;
|
||||
video = TRUE;
|
||||
} else if (!strcmp (mimetype, "video/x-vp8")) {
|
||||
id = CODEC_ID_VP8;
|
||||
video = TRUE;
|
||||
} else if (!strcmp (mimetype, "video/x-flash-screen")) {
|
||||
id = CODEC_ID_FLASHSV;
|
||||
video = TRUE;
|
||||
|
|
Loading…
Reference in a new issue