mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
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:
parent
8298d64aad
commit
81b5ad85b5
2 changed files with 0 additions and 7 deletions
|
@ -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));
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue