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
20572057 }
20582058
20592059 /* pkt = NULL means EOF (needed to flush decoder buffers) */
2060−static int output_packet(InputStream *ist, const AVPacket *pkt)
2060+static int process_input_packet(InputStream *ist, const AVPacket *pkt)
20612061 {
20622062 int ret = 0, i;
20632063 int got_output = 0;
@@ -3340,7 +3340,7 @@ static int process_input(int file_index) · 1276 unmodified lines
33403340 for (i = 0; i < ifile->nb_streams; i++) {
33413341 ist = input_streams[ifile->ist_index + i];
33423342 if (ist->decoding_needed) {
3343− ret = output_packet(ist, NULL);
3343+ ret = process_input_packet(ist, NULL);
33443344 if (ret>0)
33453345 return 0;
33463346 }
@@ -3521,7 +3521,7 @@ static int process_input(int file_index) · 174 unmodified lines
35213521
35223522 sub2video_heartbeat(ist, pkt.pts);
35233523
3524− ret = output_packet(ist, &pkt);
3524+ ret = process_input_packet(ist, &pkt);
35253525 if (ret < 0) {
35263526 av_log(NULL, AV_LOG_ERROR, "Error while decoding stream #%d:%d: %s\n",
35273527 ist->file_index, ist->st->index, av_err2str(ret));
@@ -3687,7 +3687,7 @@ static int transcode(void) · 159 unmodified lines
36873687 for (i = 0; i < nb_input_streams; i++) {
36883688 ist = input_streams[i];
36893689 if (!input_files[ist->file_index]->eof_reached && ist->decoding_needed) {
3690− output_packet(ist, NULL);
3690+ process_input_packet(ist, NULL);
36913691 }
36923692 }
36933693 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