[x265] [PATCH] param: force bRepeatHeaders for the still picture profile
Steve Borho
steve at borho.org
Fri Apr 4 22:13:44 CEST 2014
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1396641740 18000
# Fri Apr 04 15:02:20 2014 -0500
# Node ID 4bb0073e3d15babf642da6277ce8f1d65a2b7cea
# Parent 9f77f0228735a78b898561be4ef78b185d0e79fb
param: force bRepeatHeaders for the still picture profile
diff -r 9f77f0228735 -r 4bb0073e3d15 source/common/param.cpp
--- a/source/common/param.cpp Fri Apr 04 13:26:40 2014 -0500
+++ b/source/common/param.cpp Fri Apr 04 15:02:20 2014 -0500
@@ -219,6 +219,9 @@
}
else if (!strcmp(profile, "mainstillpicture"))
{
+ /* technically the stream should only have one picture, but we do not
+ * enforce this */
+ param->bRepeatHeaders = 1;
param->keyframeMax = 1;
param->bOpenGOP = 0;
}
More information about the x265-devel
mailing list