Set discard flag to all not active streams, do not process packets from discarded streams

Conflicts:
	libeplayer3-arm/container/container_ffmpeg.c


Origin commit data
------------------
Branch: master
Commit: c150fe7bd6
Author: samsamsam <samsamsam@o2.pl>
Date: 2018-03-18 (Sun, 18 Mar 2018)



------------------
This commit was generated by Migit
This commit is contained in:
samsamsam
2018-03-18 01:16:08 +01:00
committed by Thilo Graf
parent 0a4446c957
commit dea801c07a
7 changed files with 152 additions and 53 deletions

View File

@@ -34,7 +34,7 @@ static int flv2mpeg4_context_write_packet_cb(void *usr_data, int keyframe, int p
avOut.width = ctx->track->width;
avOut.height = ctx->track->height;
avOut.type = "video";
if (ctx->out_ctx->output->video->Write(ctx->out_ctx, &avOut) < 0)
if (Write(ctx->out_ctx->output->video->Write, ctx->out_ctx, &avOut) < 0)
{
ffmpeg_err("writing data to video device failed\n");
}