Skip to content

Commit

Permalink
Merge mozilla-central to autoland. a=merge CLOSED TREE
Browse files Browse the repository at this point in the history
  • Loading branch information
Marian-Vasile Laza committed Jan 24, 2022
2 parents 5dc9c54 + 2514943 commit 256b1d5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
10 changes: 5 additions & 5 deletions browser/locales/l10n-changesets.json
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@
"win64-aarch64-devedition",
"win64-devedition"
],
"revision": "501d80026e4fdeac79e20b41cb8087c7ec3c3ba2"
"revision": "395a911d757bbc5cdef255014e5d9ae6a0684648"
},
"en-GB": {
"pin": false,
Expand Down Expand Up @@ -483,7 +483,7 @@
"win64-aarch64-devedition",
"win64-devedition"
],
"revision": "e4e8f59ee9824548910f3281d02c5727caa36dd2"
"revision": "f1d2b95d044c6bf81d2b7cf06bd3fd465a5b52ac"
},
"es-CL": {
"pin": false,
Expand Down Expand Up @@ -843,7 +843,7 @@
"win64-aarch64-devedition",
"win64-devedition"
],
"revision": "ed2786177013615335280809caf6e99e3ea53716"
"revision": "f8db286b82c2798dc8e7cd2d609c6c29cd882de9"
},
"hy-AM": {
"pin": false,
Expand Down Expand Up @@ -879,7 +879,7 @@
"win64-aarch64-devedition",
"win64-devedition"
],
"revision": "870163a4f6a2edd3644bf214f02d39d115ff221f"
"revision": "cb326dedd6ebc77b2ec1c7f37966a097e4fdff80"
},
"ia": {
"pin": false,
Expand Down Expand Up @@ -1875,7 +1875,7 @@
"win64-aarch64-devedition",
"win64-devedition"
],
"revision": "39be41219ae0b16e1e3423dc9c4b12e9418e7c5b"
"revision": "1aa8a6ec95bb40acbfd8569d820471d3889675e4"
},
"vi": {
"pin": false,
Expand Down
19 changes: 10 additions & 9 deletions media/mozva/mozva.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ static VAStatus (*vaInitializeFn)(VADisplay dpy, int* major_version, /* out */
static VAStatus (*vaSetDriverNameFn)(VADisplay dpy, char* driver_name);
static int (*vaMaxNumEntrypointsFn)(VADisplay dpy);
static VAStatus (*vaQueryConfigEntrypointsFn)(VADisplay dpy, VAProfile profile,
VAEntrypoint *entrypoint_list,
int *num_entrypoints);
VAEntrypoint* entrypoint_list,
int* num_entrypoints);
static VAMessageCallback (*vaSetErrorCallbackFn)(VADisplay dpy,
VAMessageCallback callback,
void *user_context);
void* user_context);
static VAMessageCallback (*vaSetInfoCallbackFn)(VADisplay dpy,
VAMessageCallback callback,
void *user_context);
void* user_context);
int LoadVALibrary() {
static pthread_mutex_t sVALock = PTHREAD_MUTEX_INITIALIZER;
static void* sVALib = NULL;
Expand Down Expand Up @@ -428,24 +428,25 @@ int vaMaxNumEntrypoints(VADisplay dpy) {
}

VAStatus vaQueryConfigEntrypoints(VADisplay dpy, VAProfile profile,
VAEntrypoint *entrypoint_list,
int *num_entrypoints) {
VAEntrypoint* entrypoint_list,
int* num_entrypoints) {
if (LoadVALibrary()) {
return vaQueryConfigEntrypointsFn(dpy, profile, entrypoint_list, num_entrypoints);
return vaQueryConfigEntrypointsFn(dpy, profile, entrypoint_list,
num_entrypoints);
}
return VA_STATUS_ERROR_UNIMPLEMENTED;
}

VAMessageCallback vaSetErrorCallback(VADisplay dpy, VAMessageCallback callback,
void *user_context) {
void* user_context) {
if (LoadVALibrary()) {
return vaSetErrorCallbackFn(dpy, callback, user_context);
}
return NULL;
}

VAMessageCallback vaSetInfoCallback(VADisplay dpy, VAMessageCallback callback,
void *user_context) {
void* user_context) {
if (LoadVALibrary()) {
return vaSetInfoCallbackFn(dpy, callback, user_context);
}
Expand Down

0 comments on commit 256b1d5

Please sign in to comment.