Skip to content

Commit e6f05a5

Browse files
committed
lv-tool: Always skip actors "gstreamer" and "gdkpixbuf" when cycling
(cherry picked from commit d52a091)
1 parent 5f0d93c commit e6f05a5

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

libvisual/tools/lv-tool/lv-tool.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,13 @@ namespace {
388388
new_name = cycler (nullptr);
389389
}
390390

391+
// Always skip actors that are of little interest to end users,
392+
// while allowing explicit "--actor (gdkpixbuf|gstreamer)".
393+
if (strcmp (new_name, "gdkpixbuf") == 0 \
394+
|| strcmp (new_name, "gstreamer") == 0) {
395+
return cycle_actor_name (new_name, dir);
396+
}
397+
391398
// FIXME: this won't work if an actor's name is used as part of
392399
// another actor's name
393400
if (exclude_actors.find (new_name) != std::string::npos) {

0 commit comments

Comments
 (0)