summaryrefslogtreecommitdiff
path: root/ext/ofa
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-08-17 11:07:54 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-08-18 11:07:48 +0200
commit683fbaa81ac900c3e87bbd2b4745a341f9c7b07f (patch)
tree2c61af5e36b0595090fdcdd1c460665c74599509 /ext/ofa
parent4476ca28df32aa33acc33683dd6fecebed536a1e (diff)
downloadgstreamer-plugins-bad-683fbaa81ac900c3e87bbd2b4745a341f9c7b07f.tar.gz
ofa: do not create fingerprint on EOS if record is FALSE
https://bugzilla.gnome.org/show_bug.cgi?id=656641
Diffstat (limited to 'ext/ofa')
-rw-r--r--ext/ofa/gstofa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ofa/gstofa.c b/ext/ofa/gstofa.c
index a18d7e352..c5a757020 100644
--- a/ext/ofa/gstofa.c
+++ b/ext/ofa/gstofa.c
@@ -175,7 +175,7 @@ gst_ofa_event (GstBaseTransform * trans, GstEvent * event)
/* we got to the end of the stream but never generated a fingerprint
* (probably under 135 seconds)
*/
- if (!ofa->fingerprint)
+ if (!ofa->fingerprint && ofa->record)
create_fingerprint (ofa);
break;
default: