diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-12-16 18:01:34 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-08 17:54:34 +0100 |
commit | 67deba8a416d818f3d95aef0aa916589090396e2 (patch) | |
tree | f8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavcodec/hevc_ps_enc.c | |
parent | 59d2b00d201935c16408a2917957d89a170fe58f (diff) | |
download | ffmpeg-67deba8a416d818f3d95aef0aa916589090396e2.tar.gz |
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavcodec/hevc_ps_enc.c')
-rw-r--r-- | libavcodec/hevc_ps_enc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libavcodec/hevc_ps_enc.c b/libavcodec/hevc_ps_enc.c index 1e86757d7c..4864e6ebfc 100644 --- a/libavcodec/hevc_ps_enc.c +++ b/libavcodec/hevc_ps_enc.c @@ -90,9 +90,10 @@ int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id, put_bits(&pb, 6, vps->vps_max_layer_id); set_ue_golomb(&pb, vps->vps_num_layer_sets - 1); - // writing layer_id_included_flag not supported - if (vps->vps_num_layer_sets > 1) + if (vps->vps_num_layer_sets > 1) { + avpriv_report_missing_feature(NULL, "Writing layer_id_included_flag"); return AVERROR_PATCHWELCOME; + } put_bits(&pb, 1, vps->vps_timing_info_present_flag); if (vps->vps_timing_info_present_flag) { @@ -102,9 +103,10 @@ int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id, if (vps->vps_poc_proportional_to_timing_flag) set_ue_golomb(&pb, vps->vps_num_ticks_poc_diff_one - 1); - // writing HRD parameters not supported - if (vps->vps_num_hrd_parameters) + if (vps->vps_num_hrd_parameters) { + avpriv_report_missing_feature(NULL, "Writing HRD parameters"); return AVERROR_PATCHWELCOME; + } } put_bits(&pb, 1, 0); // extension flag |