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

@@ -376,7 +376,8 @@ void SourceControlWindow::Render()
{
if (ImGui::MenuItem( ICON_FA_REDO_ALT " Reload" ))
mediaplayer_active_->reopen();
if (ImGuiToolkit::MenuItemIcon(16, 16, "Gstreamer effect") )
if (ImGuiToolkit::MenuItemIcon(16, 16, "Gstreamer effect", nullptr,
false, mediaplayer_active_->videoEffectAvailable()) )
mediaplayer_edit_pipeline_ = true;
if (ImGui::BeginMenu(ICON_FA_SNOWFLAKE " On deactivation"))
{