sample: remove const

The writability of the structure is ensured by the refcount of the parent
miniobject and we're fine if the parent is writable.
This commit is contained in:
Wim Taymans 2011-12-01 18:49:34 +01:00
parent 8acc2d9dc7
commit 5477399881
2 changed files with 2 additions and 2 deletions

View file

@ -174,7 +174,7 @@ gst_sample_get_caps (GstSample * sample)
* Returns: (transfer none): the segment of @sample.
* The segment remains valid as long as @sample is valid.
*/
const GstSegment *
GstSegment *
gst_sample_get_segment (GstSample * sample)
{
g_return_val_if_fail (GST_IS_SAMPLE (sample), NULL);

View file

@ -63,7 +63,7 @@ GstSample * gst_sample_new (GstBuffer *buffer,
GstBuffer * gst_sample_get_buffer (GstSample *sample);
GstCaps * gst_sample_get_caps (GstSample *sample);
const GstSegment * gst_sample_get_segment (GstSample *sample);
GstSegment * gst_sample_get_segment (GstSample *sample);
const GstStructure * gst_sample_get_info (GstSample *sample);
/* refcounting */