El 16/07/16 a las 23:10, Michael Niedermayer escribió:
Set needed fields in st->codec

Fixes Ticket5684

Signed-off-by: Michael Niedermayer <[email protected]>
---
@@ -434,6 +434,8 @@ static void open_video(AVFormatContext *oc, AVCodec *codec, 
OutputStream *ost, A
          fprintf(stderr, "Could not copy the stream parameters\n");
          exit(1);
      }
+    ost->st->codec->ticks_per_frame = c->ticks_per_frame;
+    ost->st->codec->time_base       = c->time_base;
  }
I can verify it fixes the ticket, but creates warnings of AVStream::codec being deprecated.

--
Gonzalo GarramuƱo
[email protected]

_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to