Skip to content

Commit

Permalink
Update va.h
Browse files Browse the repository at this point in the history
Added expectation of multi-threaded operation on a single VAContext object to the Multi-threading Guide
  • Loading branch information
jonathanbian authored Nov 5, 2020
1 parent a22bb2b commit cf33af3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion va/va.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ extern "C" {
* concurrent threads, it will not crash or hang the OS, and VAAPI internal
* data structures will not be corrupted. When multiple threads are operating on
* the same VAAPI objects, it is the application's responsibility to synchronize
* these operations in order to generate the expected results.
* these operations in order to generate the expected results. For example, using
* a single VAContext from multiple threads may generate unexpected results.
*
* Following pseudo code illustrates a multithreaded transcoding scenario, where
* one thread is handling the decoding operation and another thread is handling
Expand Down

0 comments on commit cf33af3

Please sign in to comment.