]> git.videolan.org Git - x264.git/commitdiff
Modify the x264 header accordingly if --disable-gpl is used
authorJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 12 Nov 2010 02:19:22 +0000 (18:19 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Sun, 14 Nov 2010 06:12:51 +0000 (22:12 -0800)
encoder/set.c

index 4b0fa51ee0f47ef2aa07bcb396c6ef25885ea20f..ce1e9e89b512c764487618e95d94c9425d4fa51e 100644 (file)
@@ -571,8 +571,8 @@ int x264_sei_version_write( x264_t *h, bs_t *s )
 
     memcpy( payload, uuid, 16 );
     sprintf( payload+16, "x264 - core %d%s - H.264/MPEG-4 AVC codec - "
-             "Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: %s",
-             X264_BUILD, X264_VERSION, opts );
+             "Copy%s 2003-2010 - http://www.videolan.org/x264.html - options: %s",
+             X264_BUILD, X264_VERSION, HAVE_GPL?"left":"right", opts );
     length = strlen(payload)+1;
 
     x264_sei_write( s, (uint8_t *)payload, length, SEI_USER_DATA_UNREGISTERED );