apps/camera-gstreamer.git
2 years agoAdd gitreview file for Magic Marlin branch marlin 13.0.0 13.0.1 marlin/13.0.0 marlin/13.0.1 marlin_13.0.0 marlin_13.0.1
Jan-Simon Moeller [Tue, 15 Mar 2022 15:28:10 +0000 (16:28 +0100)]
Add gitreview file for Magic Marlin branch

Update the .gitreview file.

Bug-AGL: SPEC-4300
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agoUpdate for app framework removal 48/27248/1 12.93.0 13.93.0 marlin/12.93.0 marlin_12.93.0 needlefish/13.93.0 needlefish_13.93.0
Scott Murray [Mon, 7 Mar 2022 20:56:17 +0000 (15:56 -0500)]
Update for app framework removal

Changes:
- Remove the autobuild scripts and config.xml used by the app
  framework widget build.
- Update the CMake files to just build a "camera-gstreamer" binary
  and install it into /usr/bin by default.
- Remove the code in main.cpp that handled reading the WebSocket
  command-line arguments and passing them to binding related
  code.
- Added installation of a minimal .desktop file to work with the
  new applaunchd.

Bug-AGL: SPEC-4284

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I87816800c117a243a107eecb8895f07d6c90f23a

2 years agoFix code review comments from https://gerrit.automotivelinux.org/gerrit/c/apps/camera... 89/27089/2 12.92.0 marlin/12.92.0 marlin_12.92.0
Vasyl Vavrychuk [Sun, 16 Jan 2022 07:50:03 +0000 (08:50 +0100)]
Fix code review comments from https://gerrit.automotivelinux.org/gerrit/c/apps/camera-gstreamer/+/26934.

Bug-AGL: SPEC-4148
Change-Id: I18b3029eb91d4c693f1848c0e7eeedcdaae14e7f
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoExplain why need to check for buffer valid. 88/27088/1
Vasyl Vavrychuk [Sun, 16 Jan 2022 07:38:44 +0000 (08:38 +0100)]
Explain why need to check for buffer valid.

Fixes https://gerrit.automotivelinux.org/gerrit/c/apps/camera-gstreamer/+/26935/2//COMMIT_MSG#7

Bug-AGL: SPEC-4148
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: I99e5cfb31e24a95b5b9062999a46a962ee8ea9a7

2 years agoRearrange buffer valid and busy check. 87/27087/1
Vasyl Vavrychuk [Sun, 16 Jan 2022 07:33:14 +0000 (08:33 +0100)]
Rearrange buffer valid and busy check.

It is more natural to check buffer validity first before buffer
busyness.

Fixes https://gerrit.automotivelinux.org/gerrit/c/apps/camera-gstreamer/+/26935/2/app/main.cpp#161

Bug-AGL: SPEC-4148
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: I0df3dd48c183429b55f49915e6722342a97bd2c5

2 years agoFreeing main argv is not needed and must not be done. 36/26936/3 11.0.5 12.91.0 koi/11.0.5 koi_11.0.5 marlin/12.91.0 marlin_12.91.0
Vasyl Vavrychuk [Wed, 15 Sep 2021 07:50:29 +0000 (09:50 +0200)]
Freeing main argv is not needed and must not be done.

Was getting:

  free(): invalid pointer

Bug-AGL: SPEC-4148
Change-Id: I81bc58f647c0d4cb57a2d1bd7cecb80e943c05d2
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoFix crash due to 'window->buffers[0].buffer' NULL pointer. 35/26935/3
Vasyl Vavrychuk [Tue, 14 Sep 2021 21:25:51 +0000 (23:25 +0200)]
Fix crash due to 'window->buffers[0].buffer' NULL pointer.

Bug-AGL: SPEC-4148
Change-Id: I353deeea5ef00c6b69f381becd720d517e5a51df
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoAutomatically detect camera capable v4l2 device. 34/26934/3
Vasyl Vavrychuk [Tue, 14 Sep 2021 05:08:22 +0000 (07:08 +0200)]
Automatically detect camera capable v4l2 device.

Bug-AGL: SPEC-4148
Change-Id: I42cf0adf9e55679069992d73f079b916684f8e8b
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoDisable buffering on stdout. 63/26963/1
Andriy Tryshnivskyy [Thu, 2 Dec 2021 11:07:58 +0000 (13:07 +0200)]
Disable buffering on stdout.

It fix a problem when prints to sdtout are not visible in journalctl.

Bug-AGL: SPEC-4166
Change-Id: I5652e84bdfd3307edf53d2d7d07c532f41faa909
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
3 years agoInit camera-gstreamer 15/26115/2 10.0.3 11.0.3 11.0.4 11.91.0 11.92.0 12.90.0 12.90.1 jellyfish/10.0.3 jellyfish_10.0.3 koi/11.0.3 koi/11.0.4 koi_11.0.3 koi_11.0.4 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin/12.90.1 marlin_12.90.0 marlin_12.90.1
Marius Vlad [Tue, 2 Mar 2021 16:30:32 +0000 (18:30 +0200)]
Init camera-gstreamer

Bug-AGL: SPEC-3629

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib1a221f03dfac3114bbd3477dc488dd90c86ba35

3 years agoInitial empty repository
Jan-Simon Moeller [Fri, 26 Feb 2021 16:28:01 +0000 (16:28 +0000)]
Initial empty repository