[Encode] Add P frame flag

Add flag to indicate if it is P frame.
1 file changed