mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
(Windows) Changed a debug output entry in VideoFFmpegComponent to convert forward slashes to backslashes.
This commit is contained in:
parent
14567baab4
commit
549d78dfed
|
@ -14,6 +14,7 @@
|
|||
#include "Settings.h"
|
||||
#include "Window.h"
|
||||
#include "resources/TextureResource.h"
|
||||
#include "utils/StringUtil.h"
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
|
@ -1368,7 +1369,12 @@ void VideoFFmpegComponent::startVideoStream()
|
|||
mVideoHeight = mFormatContext->streams[mVideoStreamIndex]->codecpar->height;
|
||||
|
||||
LOG(LogDebug) << "VideoFFmpegComponent::startVideoStream(): "
|
||||
#if defined(_WIN64)
|
||||
<< "Playing video \"" << Utils::String::replace(mVideoPath, "/", "\\")
|
||||
<< "\" (codec: "
|
||||
#else
|
||||
<< "Playing video \"" << mVideoPath << "\" (codec: "
|
||||
#endif
|
||||
<< avcodec_get_name(
|
||||
mFormatContext->streams[mVideoStreamIndex]->codecpar->codec_id)
|
||||
<< ", decoder: " << (hwDecoding ? "hardware" : "software") << ")";
|
||||
|
|
Loading…
Reference in a new issue