diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-11-08 11:07:01 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-11-08 11:10:57 +0100 |
commit | 17d0751887617fa3c4761fb759a0f739c7aa956c (patch) | |
tree | 32c2217098fa86626cd48b8ff46bea7acf55366e /omx/gstomxaudioenc.h | |
parent | 2d6239678fab1e0b9f7bf8a70568e2068644054c (diff) | |
download | gst-omx-17d0751887617fa3c4761fb759a0f739c7aa956c.tar.gz |
omxaudioenc: Don't try to drain the component after EOS
And don't send EOS twice in any case. This most likely
will cause the component to not output it again and
is not necessary anyway.
Diffstat (limited to 'omx/gstomxaudioenc.h')
-rw-r--r-- | omx/gstomxaudioenc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/omx/gstomxaudioenc.h b/omx/gstomxaudioenc.h index 035abc6..2e6852e 100644 --- a/omx/gstomxaudioenc.h +++ b/omx/gstomxaudioenc.h @@ -58,6 +58,9 @@ struct _GstOMXAudioEnc * the first buffer */ gboolean started; + /* TRUE if upstream is EOS */ + gboolean eos; + /* Draining state */ GMutex *drain_lock; GCond *drain_cond; |