BugFix MediaPlayer support for GIF animation

Playbin needs a videorate video filter, and thus user cannot change the video effect on a GIF
This commit is contained in:
Bruno Herbelin
2023-08-09 12:11:15 +02:00
parent c2a0e51984
commit 1d329600af
3 changed files with 9 additions and 3 deletions

View File

@@ -258,6 +258,7 @@ public:
* */
void setVideoEffect(const std::string &pipeline_element);
inline std::string videoEffect() { return video_filter_; }
inline bool videoEffectAvailable() { return video_filter_available_; }
/**
* Accept visitors
* */
@@ -302,6 +303,7 @@ private:
bool rewind_on_disable_;
bool force_software_decoding_;
std::string decoder_name_;
bool video_filter_available_;
std::string video_filter_;
// Play speed