mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
videometa: constify tc argument to add_video_time_meta()
We don't modify the argument.
This commit is contained in:
parent
7b00e5de99
commit
a777fe2628
2 changed files with 3 additions and 2 deletions
|
@ -1151,7 +1151,8 @@ gst_video_time_code_meta_get_info (void)
|
|||
* Since: 1.10
|
||||
*/
|
||||
GstVideoTimeCodeMeta *
|
||||
gst_buffer_add_video_time_code_meta (GstBuffer * buffer, GstVideoTimeCode * tc)
|
||||
gst_buffer_add_video_time_code_meta (GstBuffer * buffer,
|
||||
const GstVideoTimeCode * tc)
|
||||
{
|
||||
if (!gst_video_time_code_is_valid (tc))
|
||||
return NULL;
|
||||
|
|
|
@ -397,7 +397,7 @@ const GstMetaInfo *gst_video_time_code_meta_get_info (void);
|
|||
|
||||
GST_VIDEO_API
|
||||
GstVideoTimeCodeMeta *gst_buffer_add_video_time_code_meta (GstBuffer * buffer,
|
||||
GstVideoTimeCode * tc);
|
||||
const GstVideoTimeCode* tc);
|
||||
|
||||
GST_VIDEO_API
|
||||
GstVideoTimeCodeMeta *
|
||||
|
|
Loading…
Reference in a new issue