Skip to content

Commit

Permalink
Merge pull request #50 from hao-yao/icamerasrc_slim_api
Browse files Browse the repository at this point in the history
LNL Beta release on 2024-07-02
  • Loading branch information
hao-yao authored Jul 4, 2024
2 parents 1baecb1 + a905fe1 commit 03df4b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This repository supports MIPI cameras through the IPU6/IPU6EP/IPU6SE on Intel Ti

## Build instructions:
* Prerequisites: ipu6-camera-bins and ipu6-camera-hal installed
* Prerequisites: libdrm-dev
* Prerequisites: libdrm-dev libva-dev libgstreamer-plugins-bad1.0-dev

```sh
export CHROME_SLIM_CAMHAL=ON
Expand Down
7 changes: 4 additions & 3 deletions src/gstcambasesrc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3639,11 +3639,12 @@ gst_cam_base_src_default_negotiate (GstCamBaseSrc * basesrc, GstPad *pad)
gboolean result = FALSE;
GstCaps *current_caps = NULL;

current_caps = gst_pad_get_current_caps (pad);
current_caps = gst_pad_get_current_caps (pad);

if (current_caps){
GST_DEBUG_OBJECT (basesrc, "straight return without negotiate");
return TRUE;
GST_DEBUG_OBJECT (basesrc, "straight return without negotiate");
gst_caps_unref (current_caps);
return TRUE;
}

/* first see what is possible on our source pad */
Expand Down

0 comments on commit 03df4b6

Please sign in to comment.