winegstreamer: Use default 0 for _AAC_PAYLOAD_TYPE if not set.
This commit is contained in:
parent
a646aa4433
commit
31b3978c12
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ static void mf_media_type_to_wg_format_audio_mpeg4(IMFMediaType *type, const GUI
|
|||
format->major_type = WG_MAJOR_TYPE_AUDIO_MPEG4;
|
||||
|
||||
if (FAILED(IMFMediaType_GetUINT32(type, &MF_MT_AAC_PAYLOAD_TYPE, &format->u.audio_mpeg4.payload_type)))
|
||||
format->u.audio_mpeg4.payload_type = -1;
|
||||
format->u.audio_mpeg4.payload_type = 0;
|
||||
|
||||
format->u.audio_mpeg4.codec_data_len = codec_data_size;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue