diff options
Diffstat (limited to 'rotord/src/libavwrapper.cpp')
| -rwxr-xr-x | rotord/src/libavwrapper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rotord/src/libavwrapper.cpp b/rotord/src/libavwrapper.cpp index 180032d..b97467b 100755 --- a/rotord/src/libavwrapper.cpp +++ b/rotord/src/libavwrapper.cpp @@ -371,8 +371,8 @@ int libav::decoder::seekToFrame(int targetFrameIndex) return -1; avcodec_flush_buffers(pCtx); - if (! readNextFrame(targetFrameIndex)) - return -1; + //if (! readNextFrame(targetFrameIndex)) + // return -1; return targetFrameIndex; } @@ -911,7 +911,7 @@ bool libav::exporter::record(std::string filename){ video_st = NULL; audio_st = NULL; - fmt->video_codec=AV_CODEC_ID_MPEG4; + fmt->video_codec=AV_CODEC_ID_H264; //AV_CODEC_ID_MPEG4 if (fmt->video_codec != AV_CODEC_ID_NONE) { video_st = add_stream(oc, &video_codec, fmt->video_codec); |
