mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
h264decoder: Rename some internals
No more a part of d3d11 implementation
This commit is contained in:
parent
f487648b03
commit
fdf06fa363
1 changed files with 4 additions and 4 deletions
|
@ -1598,11 +1598,11 @@ typedef enum
|
|||
GST_H264_LEVEL_L6 = 60,
|
||||
GST_H264_LEVEL_L6_1 = 61,
|
||||
GST_H264_LEVEL_L6_2 = 62,
|
||||
} GstD3D11H264Level;
|
||||
} GstH264DecoderLevel;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GstD3D11H264Level level;
|
||||
GstH264DecoderLevel level;
|
||||
|
||||
guint32 max_mbps;
|
||||
guint32 max_fs;
|
||||
|
@ -1634,7 +1634,7 @@ static const LevelLimits level_limits_map[] = {
|
|||
};
|
||||
|
||||
static gint
|
||||
h264_level_to_max_dpb_mbs (GstD3D11H264Level level)
|
||||
h264_level_to_max_dpb_mbs (GstH264DecoderLevel level)
|
||||
{
|
||||
gint i;
|
||||
for (i = 0; i < G_N_ELEMENTS (level_limits_map); i++) {
|
||||
|
@ -1672,7 +1672,7 @@ gst_h264_decoder_process_sps (GstH264Decoder * self, GstH264SPS * sps)
|
|||
level = 9;
|
||||
}
|
||||
|
||||
max_dpb_mbs = h264_level_to_max_dpb_mbs ((GstD3D11H264Level) level);
|
||||
max_dpb_mbs = h264_level_to_max_dpb_mbs ((GstH264DecoderLevel) level);
|
||||
if (!max_dpb_mbs)
|
||||
return FALSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue