Commit 00ff477f authored by Aurélien Zanelli's avatar Aurélien Zanelli Committed by Tim-Philipp Müller

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
parent 3fe87b31
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment