]> git.sesse.net Git - nageru/blobdiff - h264encode.cpp
Make output full-range, which seems to fix the issues with (at least) MPlayer/VLC...
[nageru] / h264encode.cpp
index d63fe896e5efebfaf717e368226fca20c7a5c6c5..eb6faf3c4ec20a4c81fdde303c75b48dfc068761 100644 (file)
@@ -343,7 +343,7 @@ static void sps_rbsp(bitstream *bs)
         bitstream_put_ui(bs, 1, 1); /* video_signal_type_present_flag */
         {
             bitstream_put_ui(bs, 5, 3);  /* video_format (5 = Unspecified) */
-            bitstream_put_ui(bs, 0, 1);  /* video_full_range_flag */
+            bitstream_put_ui(bs, 1, 1);  /* video_full_range_flag */
             bitstream_put_ui(bs, 1, 1);  /* colour_description_present_flag */
             {
                 bitstream_put_ui(bs, 1, 8);  /* colour_primaries (1 = BT.709) */