mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
Do not wait in the FFMPEG thread.
Signed-off-by: max_10 <max_10@gmx.de>
Origin commit data
------------------
Branch: master
Commit: da5077caa2
Author: samsamsam <samsamsam@o2.pl>
Date: 2018-03-30 (Fri, 30 Mar 2018)
------------------
This commit was generated by Migit
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 (Write(ctx->out_ctx->output->video->Write, ctx->out_ctx, &avOut) < 0)
|
||||
if (Write(ctx->out_ctx->output->video->Write, ctx->out_ctx, &avOut, avOut.pts) < 0)
|
||||
{
|
||||
ffmpeg_err("writing data to video device failed\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user