Skip to content

Commit

Permalink
fix: unable to play files with extra dots in the filename when omitti…
Browse files Browse the repository at this point in the history
…ng the extension #1495
  • Loading branch information
Julusian committed Dec 21, 2023
1 parent 990bce0 commit 8c716f6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/modules/ffmpeg/producer/ffmpeg_producer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,6 @@ spl::shared_ptr<core::frame_producer> create_producer(const core::frame_producer
auto fullMediaPath = find_case_insensitive(mediaPath.generic_wstring());
if (fullMediaPath && is_valid_file(*fullMediaPath)) {
path = *fullMediaPath;
} else if (mediaPath.has_extension()) {
// If there is an extension, then we don't need to probe to find a matching file
path = L"";
name = L"";
} else {
path = probe_stem(mediaPath).generic_wstring();
name += boost::filesystem::path(path).extension().wstring();
Expand Down

0 comments on commit 8c716f6

Please sign in to comment.