[Bug 748738] gstevent: add new api for parse seek event

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Aug 1 19:41:10 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748738

--- Comment #13 from Jimmy Ohn <yongjin.ohn at lge.com> ---
(In reply to Nicolas Dufresne (stormer) from comment #11)
> Review of attachment 303928 [details] [review]:
> 
> There is quite a big type error, that makes me think it should not be
> considered for 1.6. Remains I've made a review as if it was. Additional, you
> forgot to update the -sections.txt file in docs, and forgot to update win32
> definition file (warning in make check, error in make distcheck).
> 
> ::: gst/gstevent.c
> @@ +1211,3 @@
> + *
> + * Allocate a new seek event with the given @segment
> + * Returns: (transfer full): a new seek event.
> 
> Missing Since 1.6 mark
> 
> @@ +1243,3 @@
> +      GST_QUARK (RATE), G_TYPE_DOUBLE, segment->rate,
> +      GST_QUARK (FORMAT), GST_TYPE_FORMAT, segment->format,
> +      GST_QUARK (FLAGS), GST_TYPE_SEEK_FLAGS, segment->flags,
> 
> Segment flags are not of GST_TYPE_SEEK_FLAGS, this need conversion. It might
> not be reversible.
> 
> @@ +1258,3 @@
> + * @segment: a pointer to a #GstSegment
> + *
> + * Parses a seek @event and stores the retults in the given by @segment.
> 
> Missing Since 1.6 mark.
> 
> ::: gst/gstsegment.h
> @@ +210,3 @@
> +        GstSeekType start_type;
> +        GstSeekType stop_type;
> +    } seek;
> 
> Everywhere else we use ABI.abi.
> 
> ::: tests/check/gst/gstevent.c
> @@ +219,3 @@
> +    fail_if (GST_EVENT_IS_SERIALIZED (event));
> +
> +    gst_event_parse_seek_segment (event, &parsed);
> 
> parsed looks too much like a boolean. Could be name parsed_segment ?

I'll modify it. Thanks a lot stormer:)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list