diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-02-03 11:04:15 +0100 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2016-02-03 20:03:47 +0100 |
commit | 4b5be5973ed7784a5099463de976e1fd118d6f57 (patch) | |
tree | 8a5ac3722437360a316550e2c8a69c8b082a3dc1 /gst-libs/gst/vaapi/gstvaapidisplay_wayland.c | |
parent | 28d01c08576933f1ccc41456f80730a689de0508 (diff) | |
download | gstreamer-vaapi-4b5be5973ed7784a5099463de976e1fd118d6f57.tar.gz |
libs: small refactors to enhance the code style
As gst-indent generated ugly code in these cases, this patch changes the used
idiomatic into other one.
No functional changes were introduced.
Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidisplay_wayland.c')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidisplay_wayland.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_wayland.c b/gst-libs/gst/vaapi/gstvaapidisplay_wayland.c index 71c4909c..8b8e8cb3 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay_wayland.c +++ b/gst-libs/gst/vaapi/gstvaapidisplay_wayland.c @@ -330,9 +330,9 @@ static GstVaapiWindow * gst_vaapi_display_wayland_create_window (GstVaapiDisplay * display, GstVaapiID id, guint width, guint height) { - return id != GST_VAAPI_ID_INVALID ? - NULL : - gst_vaapi_window_wayland_new (display, width, height); + if (id != GST_VAAPI_ID_INVALID) + return NULL; + return gst_vaapi_window_wayland_new (display, width, height); } static void |