Bug 398949 - Clean PMT for descrambled recorded programms
Summary: Clean PMT for descrambled recorded programms
Status: REPORTED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.0.15
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-22 07:03 UTC by knossos456
Modified: 2019-05-04 15:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Patch to apply to dvbsi.cpp (kaffeine 2.0.15 source) (1.57 KB, patch)
2018-09-22 07:03 UTC, knossos456
Details
Clean PMT for descrambled recorded programms if CAM is enabled (6.91 KB, patch)
2019-05-04 15:02 UTC, Mauro Carvalho Chehab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description knossos456 2018-09-22 07:03:07 UTC
Created attachment 115160 [details]
Patch to apply to dvbsi.cpp (kaffeine 2.0.15 source)

SUMMARY

When we use CI Cam for DVB decryption, the recorded file (.m2t) have a PAT that is rebuild, ok but the PMT have still the original srambling descriptors (0x09).
This can excluded the file for some players and isen't clean.

Here is a patch proposal for dvbsi.cpp that correct the problem for Kaffeine 2.015.

Same patch can be apply in same function in earlier version, ex kaffeine 1.2.2.

SOFTWARE VERSIONS
Kaffeine 1.2.2 , 1.3.1, 2.0.15.. I havent tested version before and intermediates, but I think that this part of code wasen't finished since the beginings ....
Comment 1 Mauro Carvalho Chehab 2019-05-04 15:02:06 UTC
Created attachment 119839 [details]
Clean PMT for descrambled recorded programms if CAM is enabled

Please check if this patch works. It should be doing the same thing as yours, except that it will only strip CAM descriptors when there is a CI hardware.

Unfortunately, I'm unable to test it locally, as I don't have any CI module here.