Skip to content

vout: remove Thread and ThreadDisplay prefixes

Romain Vimont requested to merge rom1v/vlc:remove_thread_prefix into master

Some static functions were named with prefixes. For unknown reasons, there were two different prefixes (Thread and ThreadDisplay).

Their usage is confusing, because these functions could be called either from Thread() (the vout thread) or from another thread. For example, vout_NextPicture() is called from the decoder thread, and it calls ThreadDisplayPicture(), which itself calls many of the other prefixed functions.

To avoid confusion (and for simplicity), remove these prefixes.

Merge request reports

Loading