Skip to content

Commit 0a77531

Browse files
committed
根据buffering设置是否开启追帧
1 parent 89f6668 commit 0a77531

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ijkmedia/ijkplayer/ff_ffplay.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3076,8 +3076,8 @@ static int stream_has_enough_packets(AVStream *st, int stream_id, PacketQueue *q
30763076

30773077
static int is_realtime(AVFormatContext *s, int packet_buffering)
30783078
{
3079-
printf("isreal====>%s", s->iformat->name);
3080-
if (!strcmp(s->iformat->name, "flv")) {//AndroidIO
3079+
printf("isreal====>%s===>%d", s->iformat->name, packet_buffering);
3080+
if (!packet_buffering) {
30813081
return 1;
30823082
}
30833083

0 commit comments

Comments
 (0)