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

@@ -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");
}