There have been issues with third party headphones although I have not experienced them myself. I remember reading that owners of some Sennheiser headphones (so not crappy ones) had exactly this problem.
Since it didn't affect me, I didn't take a great deal of notice but I dare say that a quick Google will lead you to the problem and its resolution if there was one.
Here you go http://forum.xda-developers.com/showthread.php?t=2258831
. Ominously, the thread is 51 pages long.