@stefanmartin/expo-video-watermark 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -330,8 +330,6 @@ class ExpoVideoWatermarkModule : Module() {
|
|
|
330
330
|
val transformer = Transformer.Builder(context)
|
|
331
331
|
// Force H.264 output for maximum compatibility
|
|
332
332
|
.setVideoMimeType(MimeTypes.VIDEO_H264)
|
|
333
|
-
// Enable HDR to SDR tone mapping for videos with HDR content
|
|
334
|
-
.setHdrMode(Transformer.HDR_MODE_TONE_MAP_HDR_TO_SDR_USING_OPEN_GL)
|
|
335
333
|
.addListener(object : Transformer.Listener {
|
|
336
334
|
override fun onCompleted(composition: Composition, exportResult: ExportResult) {
|
|
337
335
|
Log.d(TAG, "[Step 15] Transform completed successfully")
|