History

ffmpeg: loose lowres hackery

Michael Niedermayer committed 15 years ago

Commit 321b2a91 parent 5dc6bd81 file · +0 −4Browse files

Unified · Split

ffmpeg.c+0−4
@@ -2294,8 +2294,6 @@ static int transcode(AVFormatContext **output_files, · 2293 unmodified lines
22942294 ost->reformat_pair = MAKE_SFMT_PAIR(AV_SAMPLE_FMT_NONE,AV_SAMPLE_FMT_NONE);
22952295 if (!codec->sample_rate) {
22962296 codec->sample_rate = icodec->sample_rate;
2297− if (icodec->lowres)
2298− codec->sample_rate >>= icodec->lowres;
22992297 }
23002298 choose_sample_rate(ost->st, ost->enc);
23012299 codec->time_base = (AVRational){1, codec->sample_rate};
@@ -3436,8 +3434,6 @@ static int opt_input_file(const char *opt, const char *filename) · 1134 unmodified lines
34363434 rfps_base = ic->streams[i]->r_frame_rate.den;
34373435 if (dec->lowres) {
34383436 dec->flags |= CODEC_FLAG_EMU_EDGE;
3439− dec->height >>= dec->lowres;
3440− dec->width >>= dec->lowres;
34413437 }
34423438 if(me_threshold)
34433439 dec->debug |= FF_DEBUG_MV;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t