IsVideo(f$) confused the jpg&bmp files with video
- Juan Carlos
- Posts: 933
- Joined: Mon Sep 06, 2010 1:02 pm
IsVideo(f$) confused the jpg&bmp files with video
This single instruction IsVideo(f$)=True confused the graphic format as jpg, bmp and gif with video formats, I tested under Windows, MorphOS and AmigaOS4 and this strange case is very problematic because if you load a video and instead you load a picture of this format show the jpg file as video, but with other formats as png or svg there isn't this strange problem, why?
- airsoftsoftwair
- Posts: 5848
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: IsVideo(f$) confused the jpg&bmp files with video
This is because Microsoft's DirectShow can also load and play static images as videos. I've now modified Hollywood to take care of this case so IsVideo() should no longer return TRUE for static images.
- Juan Carlos
- Posts: 933
- Joined: Mon Sep 06, 2010 1:02 pm
Re: IsVideo(f$) confused the jpg&bmp files with video
Thank you Andreas for your answer I create other solution with the number of frames because the pictures in theory only have 0 or 1 frame.