mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
codecmapping: Fix caps for ATRAC3. Fixes #574663
This commit is contained in:
parent
1e689f057f
commit
45ec23e37c
1 changed files with 5 additions and 2 deletions
|
@ -590,7 +590,9 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
|||
break;
|
||||
|
||||
case CODEC_ID_ATRAC3:
|
||||
caps = gst_ff_aud_caps_new (context, codec_id, "audio/atrac3", NULL);
|
||||
caps =
|
||||
gst_ff_aud_caps_new (context, codec_id, "audio/x-vnd.sony.atrac3",
|
||||
NULL);
|
||||
break;
|
||||
|
||||
case CODEC_ID_DTS:
|
||||
|
@ -2721,7 +2723,8 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context)
|
|||
} else if (!strcmp (mimetype, "audio/x-eac3")) {
|
||||
id = CODEC_ID_EAC3;
|
||||
audio = TRUE;
|
||||
} else if (!strcmp (mimetype, "audio/atrac3")) {
|
||||
} else if (!strcmp (mimetype, "audio/x-vnd.sony.atrac3") ||
|
||||
!strcmp (mimetype, "audio/atrac3")) {
|
||||
id = CODEC_ID_ATRAC3;
|
||||
audio = TRUE;
|
||||
} else if (!strcmp (mimetype, "audio/x-dts")) {
|
||||
|
|
Loading…
Reference in a new issue