mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
avcodecmap: Use video/x-cavs mime type instead of video/x-gst-av-cavs
More generic mime-type which can be used by other decoders than libav. https://bugzilla.gnome.org/show_bug.cgi?id=727731
This commit is contained in:
parent
3fe87b31f6
commit
00ff477f29
1 changed files with 6 additions and 1 deletions
|
@ -1712,6 +1712,12 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
|
|||
"video/x-apple-intermediate-codec", NULL);
|
||||
break;
|
||||
|
||||
case AV_CODEC_ID_CAVS:
|
||||
caps =
|
||||
gst_ff_vid_caps_new (context, NULL, codec_id, encode,
|
||||
"video/x-cavs", NULL);
|
||||
break;
|
||||
|
||||
case AV_CODEC_ID_WS_VQA:
|
||||
case AV_CODEC_ID_IDCIN:
|
||||
case AV_CODEC_ID_8BPS:
|
||||
|
@ -1728,7 +1734,6 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
|
|||
case AV_CODEC_ID_WESTWOOD_SND1:
|
||||
case AV_CODEC_ID_MMVIDEO:
|
||||
case AV_CODEC_ID_AVS:
|
||||
case AV_CODEC_ID_CAVS:
|
||||
buildcaps = TRUE;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue