add support for jpg encoded image frames