diff options
Diffstat (limited to '')
-rw-r--r-- | src/media/UMediaCore_FFmpeg.pas | 2 | ||||
-rw-r--r-- | src/media/UVisualizer.pas | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/media/UMediaCore_FFmpeg.pas b/src/media/UMediaCore_FFmpeg.pas index e57760d6..9ad19a5b 100644 --- a/src/media/UMediaCore_FFmpeg.pas +++ b/src/media/UMediaCore_FFmpeg.pas @@ -209,9 +209,9 @@ begin case FFmpegFormat of SAMPLE_FMT_U8: Format := asfU8; SAMPLE_FMT_S16: Format := asfS16; - SAMPLE_FMT_S24: Format := asfS24; SAMPLE_FMT_S32: Format := asfS32; SAMPLE_FMT_FLT: Format := asfFloat; + SAMPLE_FMT_DBL: Format := asfDouble; else begin Result := false; Exit; diff --git a/src/media/UVisualizer.pas b/src/media/UVisualizer.pas index c33a4a09..a81e3e52 100644 --- a/src/media/UVisualizer.pas +++ b/src/media/UVisualizer.pas @@ -287,7 +287,7 @@ begin if VisualizerStarted then Exit; - // the OpenGL state must be saved before + // the OpenGL state must be saved before TProjectM.Create is called SaveOpenGLState(); try |