diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-07-09 21:51:07 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-07-09 21:51:07 +0100 |
commit | c51a2c1ddfa6c46c7833fc8c96d85565411a77e1 (patch) | |
tree | 91aaee9698aa96755388061f207f28169579f031 /plugins/elements | |
parent | f165a77fdc9145b9962699a8963e15dde0fd2035 (diff) |
basesrc, basesink, baseparse, typefind: use GST_SEGMENT_FLAG with segment flags
Diffstat (limited to 'plugins/elements')
-rw-r--r-- | plugins/elements/gsttypefindelement.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/elements/gsttypefindelement.c b/plugins/elements/gsttypefindelement.c index b2648f762..9aa2b8c8c 100644 --- a/plugins/elements/gsttypefindelement.c +++ b/plugins/elements/gsttypefindelement.c @@ -478,7 +478,7 @@ gst_type_find_element_seek (GstTypeFindElement * typefind, GstEvent * event) typefind->offset = typefind->segment.start; /* notify start of new segment */ - if (typefind->segment.flags & GST_SEEK_FLAG_SEGMENT) { + if (typefind->segment.flags & GST_SEGMENT_FLAG_SEGMENT) { GstMessage *msg; msg = gst_message_new_segment_start (GST_OBJECT (typefind), @@ -1090,7 +1090,7 @@ pause: if (ret == GST_FLOW_EOS) { /* perform EOS logic */ - if (typefind->segment.flags & GST_SEEK_FLAG_SEGMENT) { + if (typefind->segment.flags & GST_SEGMENT_FLAG_SEGMENT) { gint64 stop; /* for segment playback we need to post when (in stream time) |