mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
Add missing codecs
Original commit message from CVS: Add missing codecs
This commit is contained in:
parent
1c7afe57e3
commit
cc46630cb2
2 changed files with 11 additions and 1 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 4a7bc52a893bdd9fefa9fabe460c827822a9e0f2
|
Subproject commit 86c508421de359776c4c2cb411a78c729330a250
|
|
@ -77,6 +77,11 @@ gst_ffmpegcodec_codec_context_to_caps (AVCodecContext *context, int codec_id)
|
||||||
"video/x-mjpeg",
|
"video/x-mjpeg",
|
||||||
NULL);
|
NULL);
|
||||||
break;
|
break;
|
||||||
|
case CODEC_ID_MJPEGB:
|
||||||
|
return GST_CAPS_NEW ("ffmpeg_mjpeg",
|
||||||
|
"video/x-mjpegb",
|
||||||
|
NULL);
|
||||||
|
break;
|
||||||
case CODEC_ID_MPEG4:
|
case CODEC_ID_MPEG4:
|
||||||
if (context) {
|
if (context) {
|
||||||
return GST_CAPS_NEW ("ffmpeg_mpeg4",
|
return GST_CAPS_NEW ("ffmpeg_mpeg4",
|
||||||
|
@ -229,6 +234,11 @@ gst_ffmpegcodec_codec_context_to_caps (AVCodecContext *context, int codec_id)
|
||||||
"unkown/unkown",
|
"unkown/unkown",
|
||||||
NULL);
|
NULL);
|
||||||
break;
|
break;
|
||||||
|
case CODEC_ID_HUFFYUV:
|
||||||
|
return GST_CAPS_NEW ("ffmpeg_huffyuv",
|
||||||
|
"video/x-huffyuv",
|
||||||
|
NULL);
|
||||||
|
break;
|
||||||
/* various pcm "codecs" */
|
/* various pcm "codecs" */
|
||||||
case CODEC_ID_PCM_S16LE:
|
case CODEC_ID_PCM_S16LE:
|
||||||
return GST_CAPS_NEW ("ffmpeg_s16le",
|
return GST_CAPS_NEW ("ffmpeg_s16le",
|
||||||
|
|
Loading…
Reference in a new issue