mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-08 04:41:31 +00:00
player: Constify the config argument to gst_player_get_video_snapshot()
This structure is only ever read from.
This commit is contained in:
parent
1ec081f96d
commit
4a45a01b5e
2 changed files with 2 additions and 2 deletions
|
@ -4682,7 +4682,7 @@ gst_player_config_get_seek_accurate (const GstStructure * config)
|
|||
*/
|
||||
GstSample *
|
||||
gst_player_get_video_snapshot (GstPlayer * self,
|
||||
GstPlayerSnapshotFormat format, GstStructure * config)
|
||||
GstPlayerSnapshotFormat format, const GstStructure * config)
|
||||
{
|
||||
gint video_tracks = 0;
|
||||
GstSample *sample = NULL;
|
||||
|
|
|
@ -288,7 +288,7 @@ typedef enum
|
|||
|
||||
GST_EXPORT
|
||||
GstSample * gst_player_get_video_snapshot (GstPlayer * player,
|
||||
GstPlayerSnapshotFormat format, GstStructure * config);
|
||||
GstPlayerSnapshotFormat format, const GstStructure * config);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue