Added the logic for displaying the image in VideoAdaptor.java