Skip to content

Commit

Permalink
#809 fix default values
Browse files Browse the repository at this point in the history
  • Loading branch information
tomskikh committed Jul 5, 2024
1 parent 2123f74 commit c6e1e4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions gst_plugins/python/savant_rs_video_demux.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@
required_property,
)
from savant.utils.logging import LoggerMixin
from savant.utils.platform import is_aarch64

DEFAULT_SOURCE_TIMEOUT = 60
DEFAULT_SOURCE_EVICTION_INTERVAL = 15
DEFAULT_EOS_ON_FRAME_RESOLUTION_CHANGE = is_aarch64()
DEFAULT_EOS_ON_FRAME_RESOLUTION_CHANGE = True
OUT_CAPS = Gst.Caps.from_string(';'.join(x.value.caps_with_params for x in Codec))

SAVANT_RS_VIDEO_DEMUX_PROPERTIES = {
Expand Down
2 changes: 1 addition & 1 deletion savant/config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pipeline:
decoder_queue_length: ${oc.decode:${oc.env:DECODER_QUEUE_LENGTH, null}}
# Size of the queue before decoder in bytes (0 - no limit, default 10485760).
decoder_queue_byte_size: ${oc.decode:${oc.env:DECODER_QUEUE_BYTE_SIZE, null}}
# Send EOS on frame resolution change for JPEG and PNG codecs (default in false for dGPU, true for Jetson).
# Send EOS on frame resolution change for JPEG and PNG codecs (default true).
eos_on_frame_resolution_change: ${oc.decode:${oc.env:EOS_ON_FRAME_RESOLUTION_CHANGE, null}}

# elements:
Expand Down

0 comments on commit c6e1e4b

Please sign in to comment.