ofa: do not create fingerprint on EOS if record is FALSE

https://bugzilla.gnome.org/show_bug.cgi?id=656641
This commit is contained in:
Vincent Penquerc'h 2011-08-17 11:07:54 +01:00 committed by Sebastian Dröge
parent 4476ca28df
commit 683fbaa81a

View file

@ -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: