Merge branch 'master' into rate_dropdown

This commit is contained in:
Isaac Connor
2020-01-07 14:49:58 -05:00
48 changed files with 1101 additions and 884 deletions

View File

@@ -145,7 +145,11 @@ AVFrame *FFmpeg_Input::get_frame(int stream_id) {
av_frame_free(&frame);
continue;
} else {
zm_dump_frame(frame, "resulting frame");
if ( is_video_stream(input_format_context->streams[packet.stream_index]) ) {
zm_dump_video_frame(frame, "resulting video frame");
} else {
zm_dump_frame(frame, "resulting frame");
}
}
frameComplete = 1;