{"push_id":555468205,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"4093ce4d8413bdce30bfb4eded2df1343daa5173","before":"aabb911e9f647b0270c033ce65756b6c4ab645b9","commits":[{"sha":"b042e20e24fa3d5b5539eaf4baf360e494777b5b","author":{"email":"afb1f552943ed2e4226ea95f31452bbd1d67cfba@gmail.com","name":"jp9000"},"message":"libobs: Fix obs_data_apply\n\nobs_data_apply is used to apply the changes of a source object in to a\ndestination object.  Problem with this however is that if sub-objects\nare in use, it currently just copies the pointer of the sub-object,\nmeaning that the source and destination will both share the same\nsub-object via reference.  If anything modifies that sub-object data,\nit'll modify it for both objects, which was not intended.\n\nInstead of copying the object pointer, create a new copy and then\nrecursively repeat the process to ensure the data is always completely\nseparate.","distinct":true,"url":"https://api.github.com/repos/Weikardzaena/obs-studio/commits/b042e20e24fa3d5b5539eaf4baf360e494777b5b"},{"sha":"af8d5db4ad6a4d0b61783d67cf30289eddc0c921","author":{"email":"afb1f552943ed2e4226ea95f31452bbd1d67cfba@gmail.com","name":"jp9000"},"message":"libobs: Add obs_data_clear to clear settings\n\nThis function is intended to clear all settings outside of\ndefault/autoselect values.","distinct":true,"url":"https://api.github.com/repos/Weikardzaena/obs-studio/commits/af8d5db4ad6a4d0b61783d67cf30289eddc0c921"},{"sha":"4093ce4d8413bdce30bfb4eded2df1343daa5173","author":{"email":"afb1f552943ed2e4226ea95f31452bbd1d67cfba@gmail.com","name":"jp9000"},"message":"UI: Fix bug when canceling first source properties\n\nWhen you launch the source properties for the first time, the settings\nfor the source are empty and default values are used.  With the new\nOK/Cancel buttons that were recently merged, it first saves the old\nsettings, then if the user cancels applies those old settings.\n\nHowever, because the first settings are always empty, obs_source_update\nwill try to apply the old settings (which are empty) to the modified\nsettings, but it can't reset to those settings because it's technically\nnot applying any settings at all.\n\nIn other words, when you create the source and modified the properties\nfor your first time, pressing cancel would not reset anything at all.\n\nThis fixes that issue by clearing the current settings with\nobs_data_clear before updating the source with the old settings, which\nensures that any settings that were empty are reset to an empty status.","distinct":true,"url":"https://api.github.com/repos/Weikardzaena/obs-studio/commits/4093ce4d8413bdce30bfb4eded2df1343daa5173"}]}