Commit 8a60a9c7 authored by Anton Khirnov's avatar Anton Khirnov

lavc/libtheoraenc: stop setting dts unnecessarily

Theora is not marked as supporting reordering, so dts will be set from
pts by the generic code.
parent 2bb20e98
......@@ -346,7 +346,7 @@ static int encode_frame(AVCodecContext* avc_context, AVPacket *pkt,
// HACK: assumes no encoder delay, this is true until libtheora becomes
// multithreaded (which will be disabled unless explicitly requested)
pkt->pts = pkt->dts = frame->pts;
pkt->pts = frame->pts;
pkt->duration = frame->duration;
ret = ff_encode_reordered_opaque(avc_context, pkt, frame);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment