mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
Cosmetics (drop unused variables).
This commit is contained in:
parent
95a4bca0ee
commit
1689ee112d
3 changed files with 6 additions and 15 deletions
|
@ -56,8 +56,7 @@ gst_vaapi_display_set_display(GstVaapiDisplay *display, VADisplay va_display);
|
||||||
static void
|
static void
|
||||||
gst_vaapi_display_finalize(GObject *object)
|
gst_vaapi_display_finalize(GObject *object)
|
||||||
{
|
{
|
||||||
GstVaapiDisplay *display = GST_VAAPI_DISPLAY(object);
|
GstVaapiDisplay * const display = GST_VAAPI_DISPLAY(object);
|
||||||
GstVaapiDisplayPrivate *priv = display->priv;
|
|
||||||
|
|
||||||
gst_vaapi_display_set_display(display, NULL);
|
gst_vaapi_display_set_display(display, NULL);
|
||||||
|
|
||||||
|
@ -70,8 +69,7 @@ gst_vaapi_display_set_property(GObject *object,
|
||||||
const GValue *value,
|
const GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
GstVaapiDisplay *display = GST_VAAPI_DISPLAY(object);
|
GstVaapiDisplay * const display = GST_VAAPI_DISPLAY(object);
|
||||||
GstVaapiDisplayPrivate *priv = display->priv;
|
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_DISPLAY:
|
case PROP_DISPLAY:
|
||||||
|
@ -89,8 +87,7 @@ gst_vaapi_display_get_property(GObject *object,
|
||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
GstVaapiDisplay *display = GST_VAAPI_DISPLAY(object);
|
GstVaapiDisplay * const display = GST_VAAPI_DISPLAY(object);
|
||||||
GstVaapiDisplayPrivate *priv = display->priv;
|
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_DISPLAY:
|
case PROP_DISPLAY:
|
||||||
|
|
|
@ -51,9 +51,6 @@ gst_vaapi_display_x11_set_display(GstVaapiDisplayX11 *display,
|
||||||
static void
|
static void
|
||||||
gst_vaapi_display_x11_finalize(GObject *object)
|
gst_vaapi_display_x11_finalize(GObject *object)
|
||||||
{
|
{
|
||||||
GstVaapiDisplayX11 *display = GST_VAAPI_DISPLAY_X11(object);
|
|
||||||
GstVaapiDisplayX11Private *priv = display->priv;
|
|
||||||
|
|
||||||
G_OBJECT_CLASS(gst_vaapi_display_x11_parent_class)->finalize(object);
|
G_OBJECT_CLASS(gst_vaapi_display_x11_parent_class)->finalize(object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,8 +60,7 @@ gst_vaapi_display_x11_set_property(GObject *object,
|
||||||
const GValue *value,
|
const GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
GstVaapiDisplayX11 *display = GST_VAAPI_DISPLAY_X11(object);
|
GstVaapiDisplayX11 * const display = GST_VAAPI_DISPLAY_X11(object);
|
||||||
GstVaapiDisplayX11Private *priv = display->priv;
|
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_X11_DISPLAY:
|
case PROP_X11_DISPLAY:
|
||||||
|
@ -82,8 +78,7 @@ gst_vaapi_display_x11_get_property(GObject *object,
|
||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
GstVaapiDisplayX11 *display = GST_VAAPI_DISPLAY_X11(object);
|
GstVaapiDisplayX11 * const display = GST_VAAPI_DISPLAY_X11(object);
|
||||||
GstVaapiDisplayX11Private *priv = display->priv;
|
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_X11_DISPLAY:
|
case PROP_X11_DISPLAY:
|
||||||
|
|
|
@ -134,8 +134,7 @@ gst_vaapi_surface_get_property(GObject *object,
|
||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
GstVaapiSurface * const surface = GST_VAAPI_SURFACE(object);
|
GstVaapiSurface * const surface = GST_VAAPI_SURFACE(object);
|
||||||
GstVaapiSurfacePrivate * const priv = surface->priv;
|
|
||||||
|
|
||||||
switch (prop_id) {
|
switch (prop_id) {
|
||||||
case PROP_DISPLAY:
|
case PROP_DISPLAY:
|
||||||
|
|
Loading…
Reference in a new issue