openframeworks / openframeworks/openFrameworks

ofDirectShowPlayer crash with odd-dimensioned media (also ofxGifDecoder)

Open
#5,213 6 comments 0 reactions 1 assignee View on GitHub

@ofTheo is already working on this.

Since Aug 23, 2016.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

ofDirectShowPlayer crashes if the source media file has at least one odd dimension (something like 500x291). At least it's true for OF 0.9.3 Win7 + QtCreator.

This problem didn't exist in OF 0.8.x on Windows, where ofVideoPlayer used QuickTime.

ofxGifDecoder seems to crash for the same reason but not ofImage - although both rely on FreeImage...

Here's my full post on the forum for some more context:
https://forum.openframeworks.cc/t/ofdirectshowplayer-crash-with-odd-dimensioned-media/24302

Christof

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.