mirror of https://git.ffmpeg.org/ffmpeg.git
rtpdec_hevc: Drop a duplicated, nonstandard entry
The RFC spec draft only specifies the "H265" name - there is no specification saying how to interpret "HEVC" (if such a packet format is specified it could be an entirely different format). Since this is a very new standard (still a draft), there is little need for compatibility with existing, broken implementations. Therefore remove the extra alias, to avoid the risk of encouraging incorrect usage. Intentionally keeping the ff_hevc_dynamic_handler name for the handler, to use "hevc" consistently as name for the codec instead of "h265" within the library internals as long as there only is one single variant in actual use. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
103391ca90
commit
c463dfc7e4
|
@ -70,7 +70,6 @@ void ff_register_rtp_dynamic_payload_handlers(void)
|
||||||
ff_register_dynamic_payload_handler(&ff_h263_2000_dynamic_handler);
|
ff_register_dynamic_payload_handler(&ff_h263_2000_dynamic_handler);
|
||||||
ff_register_dynamic_payload_handler(&ff_h263_rfc2190_dynamic_handler);
|
ff_register_dynamic_payload_handler(&ff_h263_rfc2190_dynamic_handler);
|
||||||
ff_register_dynamic_payload_handler(&ff_h264_dynamic_handler);
|
ff_register_dynamic_payload_handler(&ff_h264_dynamic_handler);
|
||||||
ff_register_dynamic_payload_handler(&ff_h265_dynamic_handler);
|
|
||||||
ff_register_dynamic_payload_handler(&ff_hevc_dynamic_handler);
|
ff_register_dynamic_payload_handler(&ff_hevc_dynamic_handler);
|
||||||
ff_register_dynamic_payload_handler(&ff_ilbc_dynamic_handler);
|
ff_register_dynamic_payload_handler(&ff_ilbc_dynamic_handler);
|
||||||
ff_register_dynamic_payload_handler(&ff_jpeg_dynamic_handler);
|
ff_register_dynamic_payload_handler(&ff_jpeg_dynamic_handler);
|
||||||
|
|
|
@ -45,7 +45,6 @@ extern RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler;
|
||||||
extern RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler;
|
extern RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler;
|
||||||
extern RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler;
|
extern RTPDynamicProtocolHandler ff_h263_rfc2190_dynamic_handler;
|
||||||
extern RTPDynamicProtocolHandler ff_h264_dynamic_handler;
|
extern RTPDynamicProtocolHandler ff_h264_dynamic_handler;
|
||||||
extern RTPDynamicProtocolHandler ff_h265_dynamic_handler;
|
|
||||||
extern RTPDynamicProtocolHandler ff_hevc_dynamic_handler;
|
extern RTPDynamicProtocolHandler ff_hevc_dynamic_handler;
|
||||||
extern RTPDynamicProtocolHandler ff_ilbc_dynamic_handler;
|
extern RTPDynamicProtocolHandler ff_ilbc_dynamic_handler;
|
||||||
extern RTPDynamicProtocolHandler ff_jpeg_dynamic_handler;
|
extern RTPDynamicProtocolHandler ff_jpeg_dynamic_handler;
|
||||||
|
|
|
@ -350,17 +350,6 @@ static int hevc_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_hevc_ctx
|
||||||
}
|
}
|
||||||
|
|
||||||
RTPDynamicProtocolHandler ff_hevc_dynamic_handler = {
|
RTPDynamicProtocolHandler ff_hevc_dynamic_handler = {
|
||||||
.enc_name = "HEVC",
|
|
||||||
.codec_type = AVMEDIA_TYPE_VIDEO,
|
|
||||||
.codec_id = AV_CODEC_ID_HEVC,
|
|
||||||
.init = hevc_init,
|
|
||||||
.parse_sdp_a_line = hevc_parse_sdp_line,
|
|
||||||
.alloc = hevc_new_context,
|
|
||||||
.free = hevc_free_context,
|
|
||||||
.parse_packet = hevc_handle_packet
|
|
||||||
};
|
|
||||||
|
|
||||||
RTPDynamicProtocolHandler ff_h265_dynamic_handler = {
|
|
||||||
.enc_name = "H265",
|
.enc_name = "H265",
|
||||||
.codec_type = AVMEDIA_TYPE_VIDEO,
|
.codec_type = AVMEDIA_TYPE_VIDEO,
|
||||||
.codec_id = AV_CODEC_ID_HEVC,
|
.codec_id = AV_CODEC_ID_HEVC,
|
||||||
|
|
Loading…
Reference in New Issue