mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
playbin2: improve transference doc of get-*-pad actions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2081>
This commit is contained in:
parent
6e9d67bbc1
commit
4769a2ab97
1 changed files with 9 additions and 3 deletions
|
@ -1261,7 +1261,9 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
|
||||||
* This pad can be used for notifications of caps changes, stream-specific
|
* This pad can be used for notifications of caps changes, stream-specific
|
||||||
* queries, etc.
|
* queries, etc.
|
||||||
*
|
*
|
||||||
* Returns: a #GstPad, or NULL when the stream number does not exist.
|
* Returns: (transfer full) (nullable): a #GstPad, or NULL when the
|
||||||
|
* stream number does not exist. The #GstPad must be unreffed after
|
||||||
|
* usage.
|
||||||
*/
|
*/
|
||||||
gst_play_bin_signals[SIGNAL_GET_VIDEO_PAD] =
|
gst_play_bin_signals[SIGNAL_GET_VIDEO_PAD] =
|
||||||
g_signal_new ("get-video-pad", G_TYPE_FROM_CLASS (klass),
|
g_signal_new ("get-video-pad", G_TYPE_FROM_CLASS (klass),
|
||||||
|
@ -1278,7 +1280,9 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
|
||||||
* This pad can be used for notifications of caps changes, stream-specific
|
* This pad can be used for notifications of caps changes, stream-specific
|
||||||
* queries, etc.
|
* queries, etc.
|
||||||
*
|
*
|
||||||
* Returns: a #GstPad, or NULL when the stream number does not exist.
|
* Returns: (transfer full) (nullable): a #GstPad, or NULL when the
|
||||||
|
* stream number does not exist. The #GstPad must be unreffed after
|
||||||
|
* usage.
|
||||||
*/
|
*/
|
||||||
gst_play_bin_signals[SIGNAL_GET_AUDIO_PAD] =
|
gst_play_bin_signals[SIGNAL_GET_AUDIO_PAD] =
|
||||||
g_signal_new ("get-audio-pad", G_TYPE_FROM_CLASS (klass),
|
g_signal_new ("get-audio-pad", G_TYPE_FROM_CLASS (klass),
|
||||||
|
@ -1295,7 +1299,9 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
|
||||||
* This pad can be used for notifications of caps changes, stream-specific
|
* This pad can be used for notifications of caps changes, stream-specific
|
||||||
* queries, etc.
|
* queries, etc.
|
||||||
*
|
*
|
||||||
* Returns: a #GstPad, or NULL when the stream number does not exist.
|
* Returns: (transfer full) (nullable): a #GstPad, or NULL when the
|
||||||
|
* stream number does not exist. The #GstPad must be unreffed after
|
||||||
|
* usage.
|
||||||
*/
|
*/
|
||||||
gst_play_bin_signals[SIGNAL_GET_TEXT_PAD] =
|
gst_play_bin_signals[SIGNAL_GET_TEXT_PAD] =
|
||||||
g_signal_new ("get-text-pad", G_TYPE_FROM_CLASS (klass),
|
g_signal_new ("get-text-pad", G_TYPE_FROM_CLASS (klass),
|
||||||
|
|
Loading…
Reference in a new issue