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
@ -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…
x
Reference in New Issue
Block a user