JamesHeinrich / getID3

http://www.getid3.org/
Other
1.13k stars 245 forks source link

PHP Error as Severity: Notice Message: Undefined index: time_scale Filename: getid3/module.audio-video.quicktime.php Line Number: 335 #419

Closed nagesh-nano closed 11 months ago

nagesh-nano commented 11 months ago

I am getting an PHP error for a specific video file as above

Severity: Notice

Message: Undefined index: time_scale

Filename: getid3/module.audio-video.quicktime.php

Line Number: 335

Maybe there should be an isset() or array_key_exist() condition to check time_scale key Attached video is playing in vlc media player.

https://github.com/JamesHeinrich/getID3/assets/99026217/51482f33-9bfe-402a-873f-4a32fb571b20

JamesHeinrich commented 11 months ago

Thanks. Fixed in https://github.com/JamesHeinrich/getID3/commit/6a8cc002dfc1cb9975e7899b9b89163bff72ddc0