@girs/gstplayer-1.0 1.0.0-3.2.6 → 1.0.0-3.2.7

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.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gstplayer-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GstPlayer-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for GstPlayer-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
  GStreamer Player Library
11
11
 
@@ -78,20 +78,20 @@ export enum PlayerState {
78
78
  * @param type a #GstPlayerColorBalanceType
79
79
  * @returns a string with the name of the color balance type.
80
80
  */
81
- export function player_color_balance_type_get_name(type: PlayerColorBalanceType): string | null
81
+ export function player_color_balance_type_get_name(type: PlayerColorBalanceType): string
82
82
  /**
83
83
  * Gets a string representing the given error.
84
84
  * @param error a #GstPlayerError
85
85
  * @returns a string with the given error.
86
86
  */
87
- export function player_error_get_name(error: PlayerError): string | null
87
+ export function player_error_get_name(error: PlayerError): string
88
88
  export function player_error_quark(): GLib.Quark
89
89
  /**
90
90
  * Gets a string representing the given state.
91
91
  * @param state a #GstPlayerState
92
92
  * @returns a string with the name of the state.
93
93
  */
94
- export function player_state_get_name(state: PlayerState): string | null
94
+ export function player_state_get_name(state: PlayerState): string
95
95
  export interface PlayerSignalDispatcherFunc {
96
96
  (data: any | null): void
97
97
  }
@@ -894,7 +894,7 @@ export interface PlayerMediaInfo {
894
894
  get_subtitle_streams(): PlayerSubtitleInfo[]
895
895
  get_tags(): Gst.TagList | null
896
896
  get_title(): string | null
897
- get_uri(): string | null
897
+ get_uri(): string
898
898
  get_video_streams(): PlayerVideoInfo[]
899
899
  is_live(): boolean
900
900
  is_seekable(): boolean
@@ -954,7 +954,7 @@ export interface PlayerStreamInfo {
954
954
  * of the given `info` (ex: "audio", "video", "subtitle")
955
955
  * @returns a human readable name
956
956
  */
957
- get_stream_type(): string | null
957
+ get_stream_type(): string
958
958
  get_tags(): Gst.TagList | null
959
959
 
960
960
  // Class property signals of GstPlayer-1.0.GstPlayer.PlayerStreamInfo
@@ -80,20 +80,20 @@ enum PlayerState {
80
80
  * @param type a #GstPlayerColorBalanceType
81
81
  * @returns a string with the name of the color balance type.
82
82
  */
83
- function player_color_balance_type_get_name(type: PlayerColorBalanceType): string | null
83
+ function player_color_balance_type_get_name(type: PlayerColorBalanceType): string
84
84
  /**
85
85
  * Gets a string representing the given error.
86
86
  * @param error a #GstPlayerError
87
87
  * @returns a string with the given error.
88
88
  */
89
- function player_error_get_name(error: PlayerError): string | null
89
+ function player_error_get_name(error: PlayerError): string
90
90
  function player_error_quark(): GLib.Quark
91
91
  /**
92
92
  * Gets a string representing the given state.
93
93
  * @param state a #GstPlayerState
94
94
  * @returns a string with the name of the state.
95
95
  */
96
- function player_state_get_name(state: PlayerState): string | null
96
+ function player_state_get_name(state: PlayerState): string
97
97
  interface PlayerSignalDispatcherFunc {
98
98
  (data: any | null): void
99
99
  }
@@ -896,7 +896,7 @@ interface PlayerMediaInfo {
896
896
  get_subtitle_streams(): PlayerSubtitleInfo[]
897
897
  get_tags(): Gst.TagList | null
898
898
  get_title(): string | null
899
- get_uri(): string | null
899
+ get_uri(): string
900
900
  get_video_streams(): PlayerVideoInfo[]
901
901
  is_live(): boolean
902
902
  is_seekable(): boolean
@@ -956,7 +956,7 @@ interface PlayerStreamInfo {
956
956
  * of the given `info` (ex: "audio", "video", "subtitle")
957
957
  * @returns a human readable name
958
958
  */
959
- get_stream_type(): string | null
959
+ get_stream_type(): string
960
960
  get_tags(): Gst.TagList | null
961
961
 
962
962
  // Class property signals of GstPlayer-1.0.GstPlayer.PlayerStreamInfo
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gstplayer-1.0",
3
- "version": "1.0.0-3.2.6",
3
+ "version": "1.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for GstPlayer-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "gstplayer-1.0.js",
@@ -25,16 +25,16 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gstplayer-1.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gjs": "^3.2.6",
29
- "@girs/glib-2.0": "^2.78.0-3.2.6",
30
- "@girs/gmodule-2.0": "^2.0.0-3.2.6",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
32
- "@girs/gst-1.0": "^1.23.0-3.2.6",
33
- "@girs/gstaudio-1.0": "^1.0.0-3.2.6",
34
- "@girs/gstbase-1.0": "^1.0.0-3.2.6",
35
- "@girs/gstpbutils-1.0": "^1.0.0-3.2.6",
36
- "@girs/gsttag-1.0": "^1.0.0-3.2.6",
37
- "@girs/gstvideo-1.0": "^1.0.0-3.2.6"
28
+ "@girs/gjs": "^3.2.7",
29
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
30
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
31
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
32
+ "@girs/gst-1.0": "^1.23.0-3.2.7",
33
+ "@girs/gstaudio-1.0": "^1.0.0-3.2.7",
34
+ "@girs/gstbase-1.0": "^1.0.0-3.2.7",
35
+ "@girs/gstpbutils-1.0": "^1.0.0-3.2.7",
36
+ "@girs/gsttag-1.0": "^1.0.0-3.2.7",
37
+ "@girs/gstvideo-1.0": "^1.0.0-3.2.7"
38
38
  },
39
39
  "devDependencies": {
40
40
  "typescript": "*"