dashplayer: Fix for pause-resume-pause usecase

When pause-resume-pause is queued in fast, second pause
can assert fail in renderer. Happens because pause flag is set
when pause cmd comes but resume flag is set in resume
callback from source. By time resume returns, second pause asserts.

-Fix to remove resume callback path and serialize renderer->pause,
renderer->resume in kwhatpause/kwhatresume as cmds come in itself
-discontinuity flag check made in kwhatresume itself

Change-Id: I1641417ac34c13415eb6b70f00071cca0691bd61
dashplayer: support dynamic null surface

support dynamic setting of null
native window

Change-Id: I5c9356014a1dcaf264d93b07fd4dcaf4733e4ade
CRs-Fixed: 608151
msm: venc: Enable/Disable buffer logging at runtime

Buffer logs can be enabled and disabled at runtime with following
properties:
1. setprop vidc.enc.log.out 1
2. setprop vidc.enc.log.in 1
Default location for collecting logs is /data/misc/media
Log file names are in following format:
  input_dec_<width>_<height>_<inst_ptr>.yuv
  output_dec_<width>_<height>_<inst_ptr>.<codec>

CRs-Fixed: 524234
Change-Id: I4d00e95644adc337932d2b8fd97940b04d22f962
mm-video: vidc: Add extradata logging support for encoder

Running `setprop vidc.enc.log.extradata 1` allows for the extradata to
be dumped into /data/misc/media/.

Change-Id: I9a806df5364adf78b8bd50d5a519314a738ac88a