mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
tests: display: guard possible unused variables
https://bugzilla.gnome.org/show_bug.cgi?id=765702
This commit is contained in:
parent
74ebee5339
commit
3fcfd40fb5
1 changed files with 8 additions and 2 deletions
|
@ -268,8 +268,14 @@ dump_info (GstVaapiDisplay * display)
|
|||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
GstVaapiDisplay *display, *display2;
|
||||
guint width, height, par_n, par_d;
|
||||
GstVaapiDisplay *display;
|
||||
#if USE_X11
|
||||
GstVaapiDisplay *display2;
|
||||
#endif
|
||||
#if USE_X11 || USE_WAYLAND
|
||||
guint width, height;
|
||||
guint par_n, par_d;
|
||||
#endif
|
||||
|
||||
gst_init (&argc, &argv);
|
||||
|
||||
|
|
Loading…
Reference in a new issue