History

hwcontext: Improve allocation in derived contexts

Use the flags argument of av_hwframe_ctx_create_derived() to pass the mapping flags which will be used on allocation. Also, set the format and hardware context on the allocated frame automatically - the user should not be required to do this themselves. (cherry picked from commit c5714b51aad41fef56dddac1d542e7fc6b984627)

Mark Thompson committed 9 years ago

Commit d59c6a31 parent a97fb145 files · +26 −3Browse files

Showing the changes to doc/APIchanges (1 of 5 files). Show all

Unified · Split

doc/APIchanges+4−0
@@ -15,6 +15,10 @@ libavutil: 2015-08-28 · 14 unmodified lines
1515
1616 API changes, most recent first:
1717
18+2017-06-14 - xxxxxxx - lavu 55.66.100 - hwcontext.h
19+ av_hwframe_ctx_create_derived() now takes some AV_HWFRAME_MAP_* combination
20+ as its flags argument (which was previously unused).
21+
1822 2017-06-14 - xxxxxxx - lavc 57.99.100 - avcodec.h
1923 Add AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH.
2024

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t