summaryrefslogtreecommitdiffstats
path: root/libhb/encx264.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r--libhb/encx264.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c
index 1d2fd997e..ce7879ec7 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -718,10 +718,14 @@ static hb_buffer_t *nal_encode( hb_work_object_t *w, x264_picture_t *pic_out,
*/
case NAL_SPS:
case NAL_PPS:
- continue;
+ if (!job->inline_parameter_sets)
+ {
+ continue;
+ }
+ break;
- case NAL_SLICE:
case NAL_SLICE_IDR:
+ case NAL_SLICE:
case NAL_SEI:
default:
break;