FFmpeg/FFmpeg — pull request #36 by peili (2013-09-25 00:54:08+00:00)
Title: PTS: current timestamp instead NO PTS Value in order to sync streams pro...

...per

Because most devices like alsa,x11grab,etc use current timestamp it's hard to sync streams if in this case pts is set to 0.
AV_NOPTS_VALUE = 0
I recommend pd->pts = av_gettime();