Yes, I'm piping the output into bcftools as well... Can't do any quality filtering without the quality scores though.
Edit: Thanks for that info about bcftools, I also noticed bcftools view was giving strange output (outputting a call every 11 rows) and bcftools call is now filtering out all those bogus positions just fine. Obviously something I'm missing or confused about regarding the QUAL column all being zeros.
mpileup reports DP=21 as the number of high quality bases supporting the above variant, so it knows about the base quality, but still reports all zeros in the QUAL column, which seems wrong.
mpileup output for the above variant position, and the preceding position which has no variant.
##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Number of high-quality bases">
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT mapped_sorted.bam
..
..
chrX 48902687 . G <X> 0 . DP=18;I16=13,3,0,0,575,22405,0,0,960,57600,0,0,306,6852,0,0;QS=1,0;MQSB=1;MQ0F=0 PL:DP 0,48,255:16
chrX 48902688 . A C,<X> 0 . DP=21;I16=0,0,16,2,0,0,653,25421,0,0,1080,64800,0,0,287,6367;QS=0,1,0;VDB=0.434613;SGB=-0.691153;MQSB=1;MQ0F=0 PL:DP 255,54,0,255,54,255:18
Also I edited my post to reflect that I'm using bcftools as well. Thanks

What is the meaning of options
-t DPand-vin mpileup command?Neither affect the reported quality score
what version samtools are you using? (and have you tried updating to the latest version?)
1.131-25 which is the latest. Just downloaded.
Actually it may be 1.1 only, will have to verify this ... thanks.
edit: It's 1.1.?. I'm going to try the develop branch
This is mac OS x, and compiling from source is throwing some errors. I think this is a pre-compiled version for OS x
Not sure if that includes exact minor version or not
Hello fwuffy!
It appears that your post has been cross-posted to another site: http://seqanswers.com/forums/showthread.php?t=59422
This is typically not recommended as it runs the risk of annoying people in both communities.
OK.
You may want to make a small BAM file of just this region and then send an email to the samtools list. This looks a bit like a bug, given the MAPQ and Phred scores you have.