summaryrefslogtreecommitdiffstats
path: root/libavformat/hls_sample_encryption.h
diff options
context:
space:
mode:
authorYeoh, Hoong Tee <[email protected]>2023-01-11 01:35:47 +0000
committerHaihao Xiang <[email protected]>2023-06-20 09:52:43 +0800
commitda4b2549c65dcab733b50ba0a58ae846d705d2c8 (patch)
tree1eac44a6af5ad70f84d93a14013506e2cbeb79a0 /libavformat/hls_sample_encryption.h
parent961b17eace0eb36f201df97fe9067f3f57648332 (diff)
lavf/rtpenc_jpeg: Retrieve sampling factor from SOF0
In ff_rtp_send_jpeg, the type is defined based on PIX_FMT and color-range parsed in. There is limitation on current design where need to include support newly introduced PIX_FMT such as AV_PIX_FMT_QSV and there might be more and more in future. Hence, retrive the sampling factor from SOF0 in JPEG compressed header directly. This introduces flexibility to handle different type of new codec introduced in future. Signed-off-by: Yeoh, Hoong Tee <[email protected]>
Diffstat (limited to 'libavformat/hls_sample_encryption.h')
0 files changed, 0 insertions, 0 deletions