mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-18 04:45: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 "Settings.h"
|
||||||
#include "Window.h"
|
#include "Window.h"
|
||||||
#include "resources/TextureResource.h"
|
#include "resources/TextureResource.h"
|
||||||
|
#include "utils/StringUtil.h"
|
||||||
|
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
|
|
||||||
|
@ -1368,7 +1369,12 @@ void VideoFFmpegComponent::startVideoStream()
|
||||||
mVideoHeight = mFormatContext->streams[mVideoStreamIndex]->codecpar->height;
|
mVideoHeight = mFormatContext->streams[mVideoStreamIndex]->codecpar->height;
|
||||||
|
|
||||||
LOG(LogDebug) << "VideoFFmpegComponent::startVideoStream(): "
|
LOG(LogDebug) << "VideoFFmpegComponent::startVideoStream(): "
|
||||||
|
#if defined(_WIN64)
|
||||||
|
<< "Playing video \"" << Utils::String::replace(mVideoPath, "/", "\\")
|
||||||
|
<< "\" (codec: "
|
||||||
|
#else
|
||||||
<< "Playing video \"" << mVideoPath << "\" (codec: "
|
<< "Playing video \"" << mVideoPath << "\" (codec: "
|
||||||
|
#endif
|
||||||
<< avcodec_get_name(
|
<< avcodec_get_name(
|
||||||
mFormatContext->streams[mVideoStreamIndex]->codecpar->codec_id)
|
mFormatContext->streams[mVideoStreamIndex]->codecpar->codec_id)
|
||||||
<< ", decoder: " << (hwDecoding ? "hardware" : "software") << ")";
|
<< ", decoder: " << (hwDecoding ? "hardware" : "software") << ")";
|
||||||
|
|
Loading…
Reference in a new issue