AVSEEK_FLAG_FRAME incorrectly defined (Bug #2293)


Added by Daniel Huber over 12 years ago. Updated over 12 years ago.


Status:Cancelled Start date:2012-08-22
Priority:Low Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:highgui-video
Target version:2.4.3
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

The #define for AVSEEK_FLAG_FRAME in the file cap_ffmpeg_impl.hpp is defined as 0. It should be 8.

This is for version 2.4.2. This flag may not be needed in any case, as it is normally defined in avformat.h.


History

Updated by Vadim Pisarevsky over 12 years ago

The existing code is correct. If the flag is supported by the certain version of ffmpeg, the flag is already defined (as 8). If it's not supported (and thus not defined), we do not want to pass it, right?

  • Assignee set to Vadim Pisarevsky
  • Target version set to 2.4.3
  • Category set to highgui-video
  • Status changed from Open to Cancelled

Also available in: Atom PDF