mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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
|
* Since: 1.10
|
||||||
*/
|
*/
|
||||||
GstVideoTimeCodeMeta *
|
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))
|
if (!gst_video_time_code_is_valid (tc))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -397,7 +397,7 @@ const GstMetaInfo *gst_video_time_code_meta_get_info (void);
|
||||||
|
|
||||||
GST_VIDEO_API
|
GST_VIDEO_API
|
||||||
GstVideoTimeCodeMeta *gst_buffer_add_video_time_code_meta (GstBuffer * buffer,
|
GstVideoTimeCodeMeta *gst_buffer_add_video_time_code_meta (GstBuffer * buffer,
|
||||||
GstVideoTimeCode * tc);
|
const GstVideoTimeCode* tc);
|
||||||
|
|
||||||
GST_VIDEO_API
|
GST_VIDEO_API
|
||||||
GstVideoTimeCodeMeta *
|
GstVideoTimeCodeMeta *
|
||||||
|
|
Loading…
Reference in a new issue