Name

XvSelectVideoNotify - enable or disable VideoNotify events

Syntax

##iinncclluuddee _<_X_1_1_/_e_x_t_e_n_s_i_o_n_s_/_X_v_l_i_b_._h_>

XXvvSSeelleeccttVViiddeeooNNoottiiffyy((_d_p_y_, _d_r_a_w_a_b_l_e_, _o_n_o_f_f)

rreeggiisstteerr DDiissppllaayy _*_d_p_y;
DDrraawwaabbllee _d_r_a_w_a_b_l_e;
BBooooll _o_n_o_f_f;

Arguments

_d_p_y Specifies the display screen on which the
Xv Server is to accept requests from Xv clients. If the display option is not specified, Xv uses the display screen specified by your DISPLAY environment variable. The display option has the format hostname:number. Using two colons (::) instead of one (:) indicates that DECnet is to be used for transport.
_d_r_a_w_a_b_l_e Defines the drawable in which video activity is to be reported.
_o_n_o_f_f Selects whether video notification is enabled or disabled.

Description

XvSelectVideoNotify(3X) enables or disables events to be reported for video activity in a drawable.

Returned Values

[Success] Returned if XvSelectVideoNotify(3X) completed successfully.
[XvBadExtension] Returned if the Xv extension is unavailable.
[XvBadAlloc] Returned if XvSelectVideoNotify(3X) failed to allocate memory to process
the request.
[BadDrawable] Generated if the requested drawable does not exist.

See Also

XvVideoNotify