#2412: AviSynth: New Demuxer Broken on Windows
-------------------------------------+-------------------------------------
Reporter: tateu | Owner:
Type: defect | Status: open
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: avisynth | Blocked By:
regression | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by tateu):
It appears that the above commit plus the following, fixes the error:
{{{
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index 775a5f2..8a2ff2a 100644
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -420,8 +420,8 @@ static int avisynth_read_packet_video(AVFormatContext
*s, AVPacket *pkt, int dis
if (discard)
return 0;
- pkt->pts = avs->curr_frame;
- pkt->dts = avs->curr_frame;
+ pkt->pts = n;
+ pkt->dts = n;
pkt->duration = 1;
// Define the bpp values for the new AviSynth 2.6 colorspaces
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2412#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac