Commit 3a7c6413 authored by Jan Gerber's avatar Jan Gerber

why ever i changed ti.dropframes_p to 1 - it caused much harm, anger and frustration.

parent 5bf8e0fe
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(ffmpeg2theora,0.13-svn)
AC_INIT(ffmpeg2theora,0.14.1)
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([dist-bzip2])
......
......@@ -168,7 +168,7 @@ ff2theora ff2theora_init (){
this->video_quality=31.5; // video quality 5
this->video_bitrate=0;
this->sharpness=2;
this->keyint=1111;
this->keyint=64;
this->force_input_fps=0;
this->sync=0;
this->aspect_numerator=0;
......@@ -464,7 +464,7 @@ void ff2theora_output(ff2theora this) {
info.ti.target_bitrate = this->video_bitrate;
info.ti.quality = this->video_quality;
info.ti.dropframes_p = 1;
info.ti.dropframes_p = 0;
info.ti.quick_p = 1;
info.ti.keyframe_auto_p = 1;
info.ti.keyframe_frequency = this->keyint;
......@@ -521,7 +521,7 @@ void ff2theora_output(ff2theora this) {
int dups = 0;
if(len >0 &&
(len1 = avcodec_decode_video(vstream->codec,
frame,&got_picture, ptr, len))>0) {
frame, &got_picture, ptr, len))>0) {
if(got_picture){
// this is disabled by default since it does not work
......@@ -577,6 +577,8 @@ void ff2theora_output(ff2theora this) {
output_resized=output;
}
}
else
fprintf(stderr,"did not get a pic\n");
ptr += len1;
len -= len1;
}
......
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