mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +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
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
GstVaapiDisplay *display, *display2;
|
GstVaapiDisplay *display;
|
||||||
guint width, height, par_n, par_d;
|
#if USE_X11
|
||||||
|
GstVaapiDisplay *display2;
|
||||||
|
#endif
|
||||||
|
#if USE_X11 || USE_WAYLAND
|
||||||
|
guint width, height;
|
||||||
|
guint par_n, par_d;
|
||||||
|
#endif
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue