Do not wait in the FFMPEG thread.

Signed-off-by: max_10 <max_10@gmx.de>


Origin commit data
------------------
Branch: master
Commit: ed672424a9
Author: samsamsam <samsamsam@o2.pl>
Date: 2018-03-30 (Fri, 30 Mar 2018)



------------------
This commit was generated by Migit
This commit is contained in:
samsamsam
2018-03-30 14:29:35 +02:00
committed by TangoCash
parent fa47e0a835
commit 717224d5b9
4 changed files with 38 additions and 11 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 (Write(ctx->output->video->Write, ctx, &avOut) < 0)
if (Write(ctx->output->video->Write, ctx, &avOut, avOut.pts) < 0)
{
ffmpeg_err("writing data to video device failed\n");
}