]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9056 #resolve [Mobile H.264 video is black]
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 13 Apr 2016 01:01:59 +0000 (20:01 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 13 Apr 2016 01:01:59 +0000 (20:01 -0500)
src/mod/applications/mod_av/avcodec.c

index cb357773121063ff9c5d636564b522e9a6fac8ab..5373400e8cc09ba33c23a99c530cd4e21b88e268 100644 (file)
@@ -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);
 
+               switch_clear_flag(frame, SFF_CNG);
+               frame->m = 1;
+
                return SWITCH_STATUS_SUCCESS;
        }