mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-05-31 22:58:17 +00:00
spelling: fix whether
This commit is contained in:
parent
f9fe0d7f35
commit
d45fbc027c
|
@ -1027,7 +1027,7 @@ gst_gl_display_remove_context (GstGLDisplay * display, GstGLContext * needle)
|
|||
* Ensures that the display has a valid GL context for the current thread. If
|
||||
* @context already contains a valid context, this does nothing.
|
||||
*
|
||||
* Returns: wether @context contains a valid context.
|
||||
* Returns: whether @context contains a valid context.
|
||||
*
|
||||
* Since: 1.24
|
||||
*/
|
||||
|
|
|
@ -111,9 +111,9 @@ struct _GstXvImageFormat
|
|||
* @heightmm ratio
|
||||
* @use_xshm: used to known whether of not XShm extension is usable or not even
|
||||
* if the Extension is present
|
||||
* @use_xkb: used to known wether of not Xkb extension is usable or not even
|
||||
* @use_xkb: used to known whether of not Xkb extension is usable or not even
|
||||
* if the Extension is present
|
||||
* @use_xi2: used to known wether of not XInput extension is usable or not even
|
||||
* @use_xi2: used to known whether of not XInput extension is usable or not even
|
||||
* if the Extension is present
|
||||
* @xi_opcode: XInput opcode
|
||||
* @xv_port_id: the XVideo port ID
|
||||
|
|
|
@ -66,7 +66,7 @@ typedef struct _GstMetaXImage GstMetaXImage;
|
|||
* @par_d: the pixel aspect ratio denumerator calculated from @width, @widthmm
|
||||
* and @height,
|
||||
* @heightmm ratio
|
||||
* @use_xshm: used to known wether of not XShm extension is usable or not even
|
||||
* @use_xshm: used to known whether of not XShm extension is usable or not even
|
||||
* if the Extension is present
|
||||
* @caps: the #GstCaps that Display @disp can accept
|
||||
*
|
||||
|
@ -124,7 +124,7 @@ struct _GstXWindow {
|
|||
|
||||
gboolean ximageutil_check_xshm_calls (GstXContext * xcontext);
|
||||
|
||||
GstXContext *ximageutil_xcontext_get (GstElement *parent,
|
||||
GstXContext *ximageutil_xcontext_get (GstElement *parent,
|
||||
const gchar *display_name);
|
||||
void ximageutil_xcontext_clear (GstXContext *xcontext);
|
||||
void ximageutil_calculate_pixel_aspect_ratio (GstXContext * xcontext);
|
||||
|
@ -170,12 +170,12 @@ const GstMetaInfo * gst_meta_ximage_get_info (void);
|
|||
GstBuffer *gst_ximageutil_ximage_new (GstXContext *xcontext,
|
||||
GstElement *parent, int width, int height, BufferReturnFunc return_func);
|
||||
|
||||
void gst_ximageutil_ximage_destroy (GstXContext *xcontext,
|
||||
void gst_ximageutil_ximage_destroy (GstXContext *xcontext,
|
||||
GstBuffer * ximage);
|
||||
|
||||
|
||||
/* Call to manually release a buffer */
|
||||
void gst_ximage_buffer_free (GstBuffer *ximage);
|
||||
|
||||
G_END_DECLS
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_XIMAGEUTIL_H__ */
|
||||
|
|
|
@ -4416,7 +4416,7 @@ decode_slice (GstVaapiDecoderH264 * decoder, GstVaapiDecoderUnit * unit)
|
|||
return GST_VAAPI_DECODER_STATUS_ERROR_UNKNOWN;
|
||||
}
|
||||
|
||||
/* Check wether this is the first/last slice in the current access unit */
|
||||
/* Check whether this is the first/last slice in the current access unit */
|
||||
if (pi->flags & GST_VAAPI_DECODER_UNIT_FLAG_AU_START)
|
||||
GST_VAAPI_PICTURE_FLAG_SET (picture, GST_VAAPI_PICTURE_FLAG_AU_START);
|
||||
if (pi->flags & GST_VAAPI_DECODER_UNIT_FLAG_AU_END)
|
||||
|
|
|
@ -2850,7 +2850,7 @@ decode_slice (GstVaapiDecoderH265 * decoder, GstVaapiDecoderUnit * unit)
|
|||
return GST_VAAPI_DECODER_STATUS_ERROR_UNKNOWN;
|
||||
}
|
||||
|
||||
/* Check wether this is the first/last slice in the current access unit */
|
||||
/* Check whether this is the first/last slice in the current access unit */
|
||||
if (pi->flags & GST_VAAPI_DECODER_UNIT_FLAG_AU_START)
|
||||
GST_VAAPI_PICTURE_FLAG_SET (picture, GST_VAAPI_PICTURE_FLAG_AU_START);
|
||||
|
||||
|
|
|
@ -2131,7 +2131,7 @@ gst_vaapi_display_get_vendor_string (GstVaapiDisplay * display)
|
|||
* gst_vaapi_display_has_opengl:
|
||||
* @display: a #GstVaapiDisplay
|
||||
*
|
||||
* Returns wether the @display that was created does support OpenGL
|
||||
* Returns whether the @display that was created does support OpenGL
|
||||
* context to be attached.
|
||||
*
|
||||
* This function is thread safe.
|
||||
|
|
Loading…
Reference in a new issue