title: Set a JPEG image to IMediaSample
body: <p>With referring to <a href="https://stackoverflow.com/questions/42947231/set-a-bitmap-to-imediasample">this</a> question how can we set a JPEG image instead of a Bitmap image</p>