vaapisink: drop unused variables.

Drop obsolete, and now unused, video_buffer_pool and video_buffer_size
variables. They got merged into the GstVaapiPluginBase object.
This commit is contained in:
Gwenole Beauchesne 2014-07-30 17:32:29 +02:00
parent 8298d64aad
commit 81b5ad85b5
2 changed files with 0 additions and 7 deletions

View file

@ -754,9 +754,6 @@ gst_vaapisink_stop(GstBaseSink *base_sink)
GstVaapiSink * const sink = GST_VAAPISINK(base_sink);
gst_buffer_replace(&sink->video_buffer, NULL);
#if GST_CHECK_VERSION(1,0,0)
g_clear_object(&sink->video_buffer_pool);
#endif
gst_vaapi_window_replace(&sink->window, NULL);
gst_vaapi_plugin_base_close(GST_VAAPI_PLUGIN_BASE(sink));

View file

@ -66,10 +66,6 @@ struct _GstVaapiSink {
GstVaapiWindow *window;
guint window_width;
guint window_height;
#if GST_CHECK_VERSION(1,0,0)
GstBufferPool *video_buffer_pool;
#endif
guint video_buffer_size;
GstBuffer *video_buffer;
guint video_width;
guint video_height;