ccextractor icon indicating copy to clipboard operation
ccextractor copied to clipboard

[QUESTION] Unexpected behavior of `get_write_interval`

Open IshanGrover2004 opened this issue 2 months ago • 4 comments

CCExtractor version: 0.94

In raising this issue, I confirm the following:

  • [x] I have read and understood the contributors guide.
  • [x] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • [x] I have checked that the issue I'm posting isn't already reported.
  • [x] I have checked that the issue I'm porting isn't already solved and no duplicates exist in closed issues and in opened issues
  • [x] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.
  • [x] I have used the latest available version of CCExtractor to verify this issue exists.
  • [x] I have ticked all the boxes in this section and to prove it I'm deleting the section completely to remove boilerplate text.

Necessary information

  • Is this a regression (i.e. did it work before)? NO
  • What platform did you use? LINUX
  • What were the used arguments? Doesn't matter in this case

Additional information

I was going through the codebase and testing things I observed a function get_write_interval where this function returns the bounds in which captions are present. So that means if caption/dtvcc_symbol in that case is default or 0 then it should return (0,0) answer But it is returning (0,209) even the whole row is empty

Reason behind it: 0x00.is_set() is also considered as true

Question: Is this a intentional behavior or just a mistake which is never noticed?

IshanGrover2004 avatar Apr 11 '24 06:04 IshanGrover2004