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

Conflicts:
	libeplayer3-arm/container/container_ffmpeg.c
This commit is contained in:
samsamsam
2018-03-18 01:16:08 +01:00
committed by Thilo Graf
parent 8aa8152d09
commit c150fe7bd6
7 changed files with 152 additions and 53 deletions

View File

@@ -107,7 +107,7 @@ static void mpeg4p2_write(Context_t *ctx, Track_t *track, int avContextIdx, int6
avOut.width = track->width;
avOut.height = track->height;
avOut.type = "video";
if (ctx->output->video->Write(ctx, &avOut) < 0)
if (Write(ctx->output->video->Write, ctx, &avOut) < 0)
{
ffmpeg_err("writing data to video device failed\n");
}