mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-18 14:54:19 +08:00
fftools/ffmpeg: drop InputStream.processing_needed
It is equivalent to !InputStream.discard.
This commit is contained in:
@@ -3648,7 +3648,7 @@ static void decode_flush(InputFile *ifile)
|
||||
InputStream *ist = ifile->streams[i];
|
||||
int ret;
|
||||
|
||||
if (!ist->processing_needed)
|
||||
if (ist->discard)
|
||||
continue;
|
||||
|
||||
do {
|
||||
@@ -3793,7 +3793,7 @@ static int process_input(int file_index)
|
||||
|
||||
for (i = 0; i < ifile->nb_streams; i++) {
|
||||
ist = ifile->streams[i];
|
||||
if (ist->processing_needed) {
|
||||
if (!ist->discard) {
|
||||
ret = process_input_packet(ist, NULL, 0);
|
||||
if (ret>0)
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user