forked from teamnwah/openmw-tes3coop
eb1c24ffe6
- Split video player to separate source files. - Move video player engine sources to extern/ (repository will be set up on github soon). - Audio is handled in a MovieAudioFactory, implemented by the user (here in MWSound subsystem). - Handle conversion of unsupported channel layouts via ffmpeg's swresample.
12 lines
356 B
C++
12 lines
356 B
C++
#ifndef VIDEOPLAYER_DEFS_H
|
|
#define VIDEOPLAYER_DEFS_H
|
|
|
|
enum {
|
|
AV_SYNC_AUDIO_MASTER, // Play audio with no frame drops, sync video to audio
|
|
AV_SYNC_VIDEO_MASTER, // Play video with no frame drops, sync audio to video
|
|
AV_SYNC_EXTERNAL_MASTER, // Sync audio and video to an external clock
|
|
|
|
AV_SYNC_DEFAULT = AV_SYNC_EXTERNAL_MASTER
|
|
};
|
|
|
|
#endif
|