mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-13 19:59:41 +00:00
FS-9056 #resolve [Mobile H.264 video is black]
This commit is contained in:
parent
71cd9887c1
commit
0462026b39
@ -767,6 +767,9 @@ static switch_status_t consume_h264_bitstream(h264_codec_context_t *context, swi
|
|||||||
|
|
||||||
if (pkt->size > 0) av_packet_unref(pkt);
|
if (pkt->size > 0) av_packet_unref(pkt);
|
||||||
|
|
||||||
|
switch_clear_flag(frame, SFF_CNG);
|
||||||
|
frame->m = 1;
|
||||||
|
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user