Skip to content

Commit 96e15ee

Browse files
committed
src/motiondetect: Use ASCII mode for compability with FFmpeg
Currently there isn't a way to set either ascii or binary format in FFmpeg and that causes an issue with FFmpeg on Windows it seems. It will be better to wait until the flag can be exposed through the API or wait until an ABI update to set the binary mode as the default georgmartius#104 Signed-off-by: Christopher Degawa <[email protected]>
1 parent f9166e9 commit 96e15ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/motiondetect.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ int vsMotionDetectInit(VSMotionDetect* md, const VSMotionDetectConfig* conf, con
108108
md->frameNum = 0;
109109

110110
if(md->serializationMode != ASCII_SERIALIZATION_MODE && md->serializationMode != BINARY_SERIALIZATION_MODE) {
111-
md->serializationMode = BINARY_SERIALIZATION_MODE;
111+
md->serializationMode = ASCII_SERIALIZATION_MODE;
112112
}
113113

114114
// TODO: get rid of shakiness parameter in the long run

0 commit comments

Comments
 (0)