History

Merge commit 'aa51b0492bfced6d650fb5ff419e2b13fde6833d'

* commit 'aa51b0492bfced6d650fb5ff419e2b13fde6833d': avconv: rename output_packet() to process_input_packet() Conflicts: ffmpeg.c

Michael Niedermayer committed 12 years ago

Commit 097bf142 parents ad1b571 aa51b041 file · +4 −4Browse files

Unified · Split

ffmpeg.c+4−4
@@ -2057,7 +2057,7 @@ out: · 2056 unmodified lines
2057}2057}
2058 2058
2059/* pkt = NULL means EOF (needed to flush decoder buffers) */2059/* pkt = NULL means EOF (needed to flush decoder buffers) */
2060static int output_packet(InputStream *ist, const AVPacket *pkt)2060static int process_input_packet(InputStream *ist, const AVPacket *pkt)
2061{2061{
2062 int ret = 0, i;2062 int ret = 0, i;
2063 int got_output = 0;2063 int got_output = 0;
@@ -3340,7 +3340,7 @@ static int process_input(int file_index) · 1276 unmodified lines
3340 for (i = 0; i < ifile->nb_streams; i++) {3340 for (i = 0; i < ifile->nb_streams; i++) {
3341 ist = input_streams[ifile->ist_index + i];3341 ist = input_streams[ifile->ist_index + i];
3342 if (ist->decoding_needed) {3342 if (ist->decoding_needed) {
3343 ret = output_packet(ist, NULL);3343 ret = process_input_packet(ist, NULL);
3344 if (ret>0)3344 if (ret>0)
3345 return 0;3345 return 0;
3346 }3346 }
@@ -3521,7 +3521,7 @@ static int process_input(int file_index) · 174 unmodified lines
3521 3521
3522 sub2video_heartbeat(ist, pkt.pts);3522 sub2video_heartbeat(ist, pkt.pts);
3523 3523
3524 ret = output_packet(ist, &pkt);3524 ret = process_input_packet(ist, &pkt);
3525 if (ret < 0) {3525 if (ret < 0) {
3526 av_log(NULL, AV_LOG_ERROR, "Error while decoding stream #%d:%d: %s\n",3526 av_log(NULL, AV_LOG_ERROR, "Error while decoding stream #%d:%d: %s\n",
3527 ist->file_index, ist->st->index, av_err2str(ret));3527 ist->file_index, ist->st->index, av_err2str(ret));
@@ -3687,7 +3687,7 @@ static int transcode(void) · 159 unmodified lines
3687 for (i = 0; i < nb_input_streams; i++) {3687 for (i = 0; i < nb_input_streams; i++) {
3688 ist = input_streams[i];3688 ist = input_streams[i];
3689 if (!input_files[ist->file_index]->eof_reached && ist->decoding_needed) {3689 if (!input_files[ist->file_index]->eof_reached && ist->decoding_needed) {
3690 output_packet(ist, NULL);3690 process_input_packet(ist, NULL);
3691 }3691 }
3692 }3692 }
3693 flush_encoders();3693 flush_encoders();

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