mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
playback: fix docs of convert-sample action signal
convert-sample returns a GstSample, not a GstBuffer. https://bugzilla.gnome.org/show_bug.cgi?id=707660
This commit is contained in:
parent
d7775cffb9
commit
8492b956cd
2 changed files with 6 additions and 4 deletions
|
@ -1185,8 +1185,8 @@ gst_play_bin_class_init (GstPlayBinClass * klass)
|
|||
* If @caps is %NULL, no conversion will be performed and this function is
|
||||
* equivalent to the #GstPlayBin::frame property.
|
||||
*
|
||||
* Returns: a #GstBuffer of the current video frame converted to #caps.
|
||||
* The caps on the buffer will describe the final layout of the buffer data.
|
||||
* Returns: a #GstSample of the current video frame converted to #caps.
|
||||
* The caps on the sample will describe the final layout of the buffer data.
|
||||
* %NULL is returned when no current buffer can be retrieved or when the
|
||||
* conversion failed.
|
||||
*/
|
||||
|
|
|
@ -3703,8 +3703,10 @@ gst_play_sink_get_last_sample (GstPlaySink * playsink)
|
|||
* describe the format of the frame. If @caps is not %NULL, the video
|
||||
* frame will be converted to the format of the caps.
|
||||
*
|
||||
* Returns: a #GstBuffer with the frame data or %NULL when no video frame is
|
||||
* available or when the conversion failed.
|
||||
* Returns: a #GstSample of the current video sample converted to #caps.
|
||||
* The caps in the sample will describe the final layout of the buffer data.
|
||||
* %NULL is returned when no current sample can be retrieved or when the
|
||||
* conversion failed.
|
||||
*/
|
||||
GstSample *
|
||||
gst_play_sink_convert_sample (GstPlaySink * playsink, GstCaps * caps)
|
||||
|
|
Loading…
Reference in a new issue