mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: remove unused variables
clang reports these unused variables. Let's get rid of them. https://bugzilla.gnome.org/show_bug.cgi?id=747312
This commit is contained in:
parent
d363000eaa
commit
c82e51738f
2 changed files with 0 additions and 5 deletions
|
@ -258,8 +258,6 @@ gst_vaapi_display_loader_map_lookup_type (GstVaapiDisplayType type)
|
||||||
/* --- EGL backend implementation --- */
|
/* --- EGL backend implementation --- */
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
||||||
static const guint g_display_types = 1U << GST_VAAPI_DISPLAY_TYPE_EGL;
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
gpointer display;
|
gpointer display;
|
||||||
|
|
|
@ -78,8 +78,6 @@ struct _GstVaapiEncoderVP8
|
||||||
static GstVaapiEncoderStatus
|
static GstVaapiEncoderStatus
|
||||||
ensure_profile (GstVaapiEncoderVP8 * encoder)
|
ensure_profile (GstVaapiEncoderVP8 * encoder)
|
||||||
{
|
{
|
||||||
GstVaapiProfile profile;
|
|
||||||
|
|
||||||
/* Always start from "simple" profile for maximum compatibility */
|
/* Always start from "simple" profile for maximum compatibility */
|
||||||
encoder->profile = GST_VAAPI_PROFILE_VP8;
|
encoder->profile = GST_VAAPI_PROFILE_VP8;
|
||||||
|
|
||||||
|
@ -258,7 +256,6 @@ fill_picture (GstVaapiEncoderVP8 * encoder,
|
||||||
GstVaapiEncPicture * picture,
|
GstVaapiEncPicture * picture,
|
||||||
GstVaapiCodedBuffer * codedbuf, GstVaapiSurfaceProxy * surface)
|
GstVaapiCodedBuffer * codedbuf, GstVaapiSurfaceProxy * surface)
|
||||||
{
|
{
|
||||||
GstVaapiEncoder *const base_encoder = GST_VAAPI_ENCODER_CAST (encoder);
|
|
||||||
VAEncPictureParameterBufferVP8 *const pic_param = picture->param;
|
VAEncPictureParameterBufferVP8 *const pic_param = picture->param;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue