mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
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:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user